[]
        
(Showing Draft Content)

C1.JsonNet.JsonConverter

JsonConverter Class

Defines an abstract class for json converter.

Namespace: C1.JsonNet
Assembly: C1.Web.Mvc.dll
Syntax
public abstract class JsonConverter : BaseConverter

Constructors

Name Description
JsonConverter()

Methods

Name Description
CanConvert(Type)

Determines whether this instance can convert the specified object type.

CanConvert(Type, IContext)

Determines whether this instance can convert the specified object type.

ConvertFrom(object, object)

Deserialize an object from the specified value.

ConvertTo(object)

Serialize the specified value to a string.

ReadJson(JsonReader, Type, object)

Reads the JSON representation of the object.

Write(BaseWriter, object, IContext)

Writes the specified value.

WriteJson(JsonWriter, object)

Writes the JSON representation of the object.