Class AbpSystemTextJsonSerializer
Inheritance
AbpSystemTextJsonSerializer
Assembly: Volo.Abp.Json.SystemTextJson.dll
Syntax
public class AbpSystemTextJsonSerializer : IJsonSerializer, ITransientDependency
Constructors
AbpSystemTextJsonSerializer(IOptions<AbpSystemTextJsonSerializerOptions>)
Declaration
public AbpSystemTextJsonSerializer(IOptions<AbpSystemTextJsonSerializerOptions> options)
Parameters
Properties
Options
Declaration
protected AbpSystemTextJsonSerializerOptions Options { get; }
Property Value
Methods
CreateJsonSerializerOptions(bool, bool)
Declaration
protected virtual JsonSerializerOptions CreateJsonSerializerOptions(bool camelCase = true, bool indented = false)
Parameters
Type |
Name |
Description |
bool |
camelCase |
|
bool |
indented |
|
Returns
Deserialize(Type, string, bool)
Declaration
public object Deserialize(Type type, string jsonString, bool camelCase = true)
Parameters
Returns
Deserialize<T>(string, bool)
Declaration
public T Deserialize<T>(string jsonString, bool camelCase = true)
Parameters
Type |
Name |
Description |
string |
jsonString |
|
bool |
camelCase |
|
Returns
Type Parameters
Serialize(object, bool, bool)
Declaration
public string Serialize(object obj, bool camelCase = true, bool indented = false)
Parameters
Returns
Implements
Extension Methods