-
-
Notifications
You must be signed in to change notification settings - Fork 0
simpleotp.converters.otpalgorithmjsonconverter
Eugene Fox edited this page Sep 18, 2024
·
1 revision
Namespace: SimpleOTP.Converters
Provides a JSON converter for OtpAlgorithm.
public class OtpAlgorithmJsonConverter : System.Text.Json.Serialization.JsonConverter`1[[SimpleOTP.OtpAlgorithm, SimpleOTP, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null]]Inheritance Object → JsonConverter → JsonConverter<OtpAlgorithm> → OtpAlgorithmJsonConverter
Attributes NullableContextAttribute, NullableAttribute
public bool HandleNull { get; }public Type Type { get; }public OtpAlgorithmJsonConverter()public OtpAlgorithm Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options)reader Utf8JsonReader&
typeToConvert Type
options JsonSerializerOptions
public void Write(Utf8JsonWriter writer, OtpAlgorithm value, JsonSerializerOptions options)writer Utf8JsonWriter
value OtpAlgorithm
options JsonSerializerOptions
©2025 Eugene Fox. Licensed under MIT license