Skip to main content

DynamicJson

Assembly: ServiceStack.Text.dll
View Source
Declaration
public class DynamicJson : DynamicObject, IDynamicMetaObjectProvider

Methods

Serialize(Object)

View Source
Declaration
public static string Serialize(dynamic instance)
Returns

System.String

Parameters
TypeName
System.Objectinstance

Deserialize(String)

View Source
Declaration
public static dynamic Deserialize(string json)
Returns

System.Object

Parameters
TypeName
System.Stringjson

TrySetMember(SetMemberBinder, Object)

View Source
Declaration
public override bool TrySetMember(SetMemberBinder binder, object value)
Returns

System.Boolean

Parameters
TypeName
System.Dynamic.SetMemberBinderbinder
System.Objectvalue

TryGetMember(GetMemberBinder, out Object)

View Source
Declaration
public override bool TryGetMember(GetMemberBinder binder, out object result)
Returns

System.Boolean

Parameters
TypeName
System.Dynamic.GetMemberBinderbinder
System.Objectresult

ToString()

View Source
Declaration
public override string ToString()
Returns

System.String

Implements

  • System.Dynamic.IDynamicMetaObjectProvider