Method | Description | |
---|---|---|
CanConvert ( Type objectType ) : bool |
Returns whether this converter can convert the object to the specified type.
|
|
ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object |
Reads the JSON representation of the object.
|
|
WriteJson ( JsonWriter writer, object value, JsonSerializer serializer ) : void |
Writes the JSON representation of the object.
|
public CanConvert ( Type objectType ) : bool | ||
objectType | Type | A |
return | bool |
public ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object | ||
reader | JsonReader | The |
objectType | Type | The |
existingValue | object | The existing value of object being read. |
serializer | JsonSerializer | The calling serializer. |
return | object |
public WriteJson ( JsonWriter writer, object value, JsonSerializer serializer ) : void | ||
writer | JsonWriter | The |
value | object | The value. |
serializer | JsonSerializer | The calling serializer. |
return | void |