Class AbpSystemTextJsonSerializer
Inheritance
object
AbpSystemTextJsonSerializer
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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
| Type |
Description |
| System.Text.Json.JsonSerializerOptions |
|
Deserialize(Type, string, bool)
Declaration
public object Deserialize(Type type, string jsonString, bool camelCase = true)
Parameters
| Type |
Name |
Description |
| System.Type |
type |
|
| string |
jsonString |
|
| bool |
camelCase |
|
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
| Type |
Name |
Description |
| object |
obj |
|
| bool |
camelCase |
|
| bool |
indented |
|
Returns
Implements
Extension Methods