public class JsonConfFlagConverter : JsonConverter
CanRead |
Gets a value indicating whether this JsonConverter can read JSON.
(Inherited from JsonConverter) |
CanWrite |
Gets a value indicating whether this JsonConverter can write JSON.
(Inherited from JsonConverter) |
CanConvert |
Determines if the converted can convert a certain type.
(Overrides JsonConverter.CanConvert(Type)) |
ConvertFlagObject(Type, JObject, Int32) | Converts a flag object to a corresponding numeric flags value. |
ConvertFlagObjectTFlags(JObject, Int32) | Converts a flag object to a corresponding numeric flags value. |
ConvertFlags | Converts a numeric flags value to a corresponding flag object. |
GetFlagPropertyName | Gets the json property name for a flag. |
ReadJson |
Converts various json types to a valid flags type.
(Overrides JsonConverter.ReadJson(JsonReader, Type, Object, JsonSerializer)) |
WriteJson |
Serializes a flag value to a json value.
(Overrides JsonConverter.WriteJson(JsonWriter, Object, JsonSerializer)) |