Show / Hide Table of Contents

Interface IJsonSerializer

Namespace: Volo.Abp.Json
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 Description
T
Type Parameters
Name Description
T

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

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft