Search Results for

    Show / Hide Table of Contents

    Class VariantJsonConverter

    Newtonsoft.Json converter that serializes a Variant as a JSON object carrying its VariantType and value, and reconstructs the Variant when reading.

    Inheritance
    object
    JsonConverter
    JsonConverter<Variant>
    VariantJsonConverter
    Inherited Members
    JsonConverter<Variant>.WriteJson(JsonWriter, object, JsonSerializer)
    JsonConverter<Variant>.ReadJson(JsonReader, Type, object, JsonSerializer)
    JsonConverter<Variant>.CanConvert(Type)
    JsonConverter.CanRead
    JsonConverter.CanWrite
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Reportman.Reporting
    Assembly: Reportman.Reporting.dll
    Syntax
    public class VariantJsonConverter : JsonConverter<Variant>

    Constructors

    View Source

    VariantJsonConverter()

    Declaration
    public VariantJsonConverter()

    Methods

    View Source

    ReadJson(JsonReader, Type, Variant, bool, JsonSerializer)

    Declaration
    public override Variant ReadJson(JsonReader reader, Type objectType, Variant existingValue, bool hasExistingValue, JsonSerializer serializer)
    Parameters
    Type Name Description
    JsonReader reader
    Type objectType
    Variant existingValue
    bool hasExistingValue
    JsonSerializer serializer
    Returns
    Type Description
    Variant
    Overrides
    JsonConverter<Variant>.ReadJson(JsonReader, Type, Variant, bool, JsonSerializer)
    View Source

    WriteJson(JsonWriter, Variant, JsonSerializer)

    Declaration
    public override void WriteJson(JsonWriter writer, Variant value, JsonSerializer serializer)
    Parameters
    Type Name Description
    JsonWriter writer
    Variant value
    JsonSerializer serializer
    Overrides
    JsonConverter<Variant>.WriteJson(JsonWriter, Variant, JsonSerializer)
    • View Source
    In this article
    Back to top Generated by DocFX