Метод | Описание | |
---|---|---|
CanConvert ( |
Determines whether this instance can convert the specified object type.
|
|
ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object |
Reads the JSON representation of the object.
|
|
StringEnumConverter ( ) : System |
Initializes a new instance of the StringEnumConverter class.
|
|
StringEnumConverter ( bool camelCaseText ) : System |
Initializes a new instance of the StringEnumConverter class.
|
|
WriteJson ( JsonWriter writer, object value, JsonSerializer serializer ) : void |
Writes the JSON representation of the object.
|
public CanConvert ( |
||
objectType | Type of the object. | |
Результат | bool |
public ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object | ||
reader | JsonReader | The |
objectType | Type | Type of the object. |
existingValue | object | The existing value of object being read. |
serializer | JsonSerializer | The calling serializer. |
Результат | object |
public StringEnumConverter ( bool camelCaseText ) : System | ||
camelCaseText | bool | |
Результат | System |
public WriteJson ( JsonWriter writer, object value, JsonSerializer serializer ) : void | ||
writer | JsonWriter | The |
value | object | The value. |
serializer | JsonSerializer | The calling serializer. |
Результат | void |