OtpConfigJsonConverter
Namespace: SimpleOTP.Converters
Provides a JSON converter for OtpConfig.
Inheritance Object → JsonConverter → JsonConverter<OtpConfig> → OtpConfigJsonConverter
Attributes NullableContextAttribute, NullableAttribute
Properties
HandleNull
Property Value
Boolean
Type
Property Value
Type
Constructors
OtpConfigJsonConverter()
Methods
Read(Utf8JsonReader&, Type, JsonSerializerOptions)
Parameters
reader Utf8JsonReader&
typeToConvert Type
options JsonSerializerOptions
Returns
OtpConfig
Write(Utf8JsonWriter, OtpConfig, JsonSerializerOptions)
Parameters
writer Utf8JsonWriter
value OtpConfig
options JsonSerializerOptions