Click or drag to resize

JsonConfFlagConverterReadJson Method

Converts various json types to a valid flags type.

Namespace:  MFiles.VAF.Configuration
Assembly:  MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public override Object ReadJson(
	JsonReader reader,
	Type objectType,
	Object existingValue,
	JsonSerializer serializer
)

Parameters

reader
Type: JsonReader
Json Reader.
objectType
Type: SystemType
Flag type we need to read.
existingValue
Type: SystemObject
The existing flag value where we are deserializing to (not applicable).
serializer
Type: JsonSerializer
Json serializer.

Return Value

Type: Object
Flag value.
See Also