RtSecretValueJsonConverter
Namespace: Meshmakers.Octo.Runtime.Contracts.Serialization
System.Text.Json converter of RtSecretValue (strict marker contract, see RtSecretValueWireFormat). Applied to the type, so every options instance uses it.
public sealed class RtSecretValueJsonConverter : JsonConverter<RtSecretValue>
Inheritance Object → JsonConverter → JsonConverter<RtSecretValue> → RtSecretValueJsonConverter
Properties
HandleNull
public bool HandleNull { get; }
Property Value
Type
public Type Type { get; }
Property Value
Constructors
RtSecretValueJsonConverter()
public RtSecretValueJsonConverter()
Methods
Read(out Utf8JsonReader, Type, JsonSerializerOptions)
public RtSecretValue Read(out Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
reader Utf8JsonReader
typeToConvert Type
options JsonSerializerOptions
Returns
Write(Utf8JsonWriter, RtSecretValue, JsonSerializerOptions)
public void Write(Utf8JsonWriter writer, RtSecretValue value, JsonSerializerOptions options)
Parameters
writer Utf8JsonWriter
value RtSecretValue
options JsonSerializerOptions