메소드 | 설명 | |
---|---|---|
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 |