Class JsonUtilityAdapter
Implements
Namespace: i5.Toolkit.Core.Utilities
Assembly: cs.temp.dll.dll
Syntax
public class JsonUtilityAdapter : IJsonSerializer
Methods
FromJson<T>(String)
Declaration
public T FromJson<T>(string json)
Parameters
Type | Name | Description |
---|---|---|
String | json |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |
ToJson(Object, Boolean)
Declaration
public string ToJson(object obj, bool prettyPrint = false)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | |
Boolean | prettyPrint |
Returns
Type | Description |
---|---|
String |