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
Type | Name |
---|---|
System.Object | instance |
Deserialize(String)
View Source
Declaration
public static dynamic Deserialize(string json)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.String | json |
TrySetMember(SetMemberBinder, Object)
View Source
Declaration
public override bool TrySetMember(SetMemberBinder binder, object value)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Dynamic.SetMemberBinder | binder |
System.Object | value |
TryGetMember(GetMemberBinder, out Object)
View Source
Declaration
public override bool TryGetMember(GetMemberBinder binder, out object result)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Dynamic.GetMemberBinder | binder |
System.Object | result |
ToString()
View Source
Declaration
public override string ToString()
Returns
System.String
Implements
System.Dynamic.IDynamicMetaObjectProvider