Class VariantSystemTextJsonConverter
System.Text.Json converter that serializes a Variant as a JSON object with
Type and Value properties, and reconstructs the typed Variant when reading.
Inheritance
VariantSystemTextJsonConverter
Assembly: Reportman.Reporting.dll
Syntax
public class VariantSystemTextJsonConverter : JsonConverter<Variant>
Constructors
View Source
VariantSystemTextJsonConverter()
Declaration
public VariantSystemTextJsonConverter()
Methods
View Source
Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
Declaration
public override Variant Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
Returns
Overrides
View Source
Write(Utf8JsonWriter, Variant, JsonSerializerOptions)
Declaration
public override void Write(Utf8JsonWriter writer, Variant value, JsonSerializerOptions options)
Parameters
Overrides