Class JsonUtilityAdapter
Inheritance
object
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, bool)
Declaration
public string ToJson(object obj, bool prettyPrint = false)
Parameters
Type | Name | Description |
---|---|---|
object | obj | |
bool | prettyPrint |
Returns
Type | Description |
---|---|
string |