Interface IJsonSerializer
Assembly: Volo.Abp.Json.dll
Syntax
public interface IJsonSerializer
Methods
Deserialize(Type, String, Boolean)
Declaration
object Deserialize(Type type, string jsonString, bool camelCase = true)
Parameters
Type |
Name |
Description |
Type |
type |
|
System.String |
jsonString |
|
System.Boolean |
camelCase |
|
Returns
Type |
Description |
System.Object |
|
Deserialize<T>(String, Boolean)
Declaration
T Deserialize<T>(string jsonString, bool camelCase = true)
Parameters
Type |
Name |
Description |
System.String |
jsonString |
|
System.Boolean |
camelCase |
|
Returns
Type Parameters
Serialize(Object, Boolean, Boolean)
Declaration
string Serialize(object obj, bool camelCase = true, bool indented = false)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
System.Boolean |
camelCase |
|
System.Boolean |
indented |
|
Returns
Type |
Description |
System.String |
|
Extension Methods