Class JsonWriter
Write model to JSON file
Inherited Members
Namespace: PayrollEngine.Client.Exchange
Assembly: PayrollEngine.Client.Core.dll
Syntax
public static class JsonWriter
Methods
ToFileAsync<T>(T, string)
Writes the specified provider
Declaration
public static Task ToFileAsync<T>(T obj, string fileName) where T : class
Parameters
| Type | Name | Description |
|---|---|---|
| T | obj | The provider |
| string | fileName | Name of the file |
Returns
| Type | Description |
|---|---|
| Task |
Type Parameters
| Name | Description |
|---|---|
| T |