Table of Contents

Class JsonChannelArrayToImmutableDictionaryConverter

Namespace
NetCord.JsonConverters
Assembly
NetCord.dll
public class JsonChannelArrayToImmutableDictionaryConverter : JsonConverter<ImmutableDictionary<ulong, JsonChannel>>
Inheritance
JsonChannelArrayToImmutableDictionaryConverter
Inherited Members

Constructors

JsonChannelArrayToImmutableDictionaryConverter()

public JsonChannelArrayToImmutableDictionaryConverter()

Methods

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

public override ImmutableDictionary<ulong, JsonChannel>? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)

Parameters

reader Utf8JsonReader
typeToConvert Type
options JsonSerializerOptions

Returns

ImmutableDictionary<ulong, JsonChannel>

Write(Utf8JsonWriter, ImmutableDictionary<ulong, JsonChannel>, JsonSerializerOptions)

public override void Write(Utf8JsonWriter writer, ImmutableDictionary<ulong, JsonChannel> value, JsonSerializerOptions options)

Parameters

writer Utf8JsonWriter
value ImmutableDictionary<ulong, JsonChannel>
options JsonSerializerOptions