Method | Description | |
---|---|---|
CanConvert ( |
Determines if the type can be convertered with this converter
|
|
ReadJson ( |
Read the json format and return the correct object type/value for it
|
|
WriteJson ( |
Writes the value of the id to json format
|
Method | Description | |
---|---|---|
IsNumericType ( |
Determines if the type is a number
|
|
ValidateValue ( object value ) : object |
Validates that the value is a string, number or null and converts emtpy strings to null
|
public CanConvert ( |
||
objectType | Type of the object | |
return | bool |
public ReadJson ( |
||
reader | Json reader | |
objectType | Type of property being set | |
existingValue | object | The current value of the property being set |
serializer | Json serializer | |
return | object |
public WriteJson ( |
||
writer | Json writer | |
value | object | Value to be converted to json format |
serializer | Json serializer | |
return | void |