Show / Hide Table of Contents

Class AbpSystemTextJsonSerializer

Inheritance
object
AbpSystemTextJsonSerializer
Implements
IJsonSerializer
ITransientDependency
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Json.SystemTextJson
Assembly: Volo.Abp.Json.SystemTextJson.dll
Syntax
public class AbpSystemTextJsonSerializer : IJsonSerializer, ITransientDependency

Constructors

AbpSystemTextJsonSerializer(IOptions<AbpSystemTextJsonSerializerOptions>)

Declaration
public AbpSystemTextJsonSerializer(IOptions<AbpSystemTextJsonSerializerOptions> options)
Parameters
Type Name Description
IOptions<AbpSystemTextJsonSerializerOptions> options

Properties

Options

Declaration
protected AbpSystemTextJsonSerializerOptions Options { get; }
Property Value
Type Description
AbpSystemTextJsonSerializerOptions

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
JsonSerializerOptions

Deserialize(Type, string, bool)

Declaration
public object Deserialize(Type type, string jsonString, bool camelCase = true)
Parameters
Type Name Description
Type type
string jsonString
bool camelCase
Returns
Type Description
object

Deserialize<T>(string, bool)

Declaration
public T Deserialize<T>(string jsonString, bool camelCase = true)
Parameters
Type Name Description
string jsonString
bool camelCase
Returns
Type Description
T
Type Parameters
Name Description
T

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
Type Description
string

Implements

IJsonSerializer
ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform