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