DataWeb
Search Results for

    Show / Hide Table of Contents

    Class ModuleDataJsonConverter

    Inheritance
    object
    JsonConverter
    JsonConverter<Dictionary<string, object>>
    ModuleDataJsonConverter
    Inherited Members
    JsonConverter<Dictionary<string, object>>.CanConvert(Type)
    JsonConverter<Dictionary<string, object>>.Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
    JsonConverter<Dictionary<string, object>>.ReadAsPropertyName(ref Utf8JsonReader, Type, JsonSerializerOptions)
    JsonConverter<Dictionary<string, object>>.Write(Utf8JsonWriter, Dictionary<string, object>, JsonSerializerOptions)
    JsonConverter<Dictionary<string, object>>.WriteAsPropertyName(Utf8JsonWriter, Dictionary<string, object>, JsonSerializerOptions)
    JsonConverter<Dictionary<string, object>>.HandleNull
    JsonConverter<Dictionary<string, object>>.Type
    JsonConverter.CanConvert(Type)
    JsonConverter.Type
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: DataWeb.Data
    Assembly: DataWeb.Core.dll
    Syntax
    public class ModuleDataJsonConverter : JsonConverter<Dictionary<string, object>>

    Methods

    Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

    Reads and converts the JSON to type Dictionary<string, object>.

    Declaration
    public override Dictionary<string, object> Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
    Parameters
    Type Name Description
    Utf8JsonReader reader

    The reader.

    Type typeToConvert

    The type to convert.

    JsonSerializerOptions options

    An object that specifies serialization options to use.

    Returns
    Type Description
    Dictionary<string, object>

    The converted value.

    Overrides
    JsonConverter<Dictionary<string, object>>.Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

    Write(Utf8JsonWriter, Dictionary<string, object>, JsonSerializerOptions)

    Writes a specified value as JSON.

    Declaration
    public override void Write(Utf8JsonWriter writer, Dictionary<string, object> value, JsonSerializerOptions options)
    Parameters
    Type Name Description
    Utf8JsonWriter writer

    The writer to write to.

    Dictionary<string, object> value

    The value to convert to JSON.

    JsonSerializerOptions options

    An object that specifies serialization options to use.

    Overrides
    JsonConverter<Dictionary<string, object>>.Write(Utf8JsonWriter, Dictionary<string, object>, JsonSerializerOptions)
    In this article
    Back to top Generated by DocFX