Table of Contents

Class JsonVoiceStateArrayToImmutableDictionaryConverter

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

Constructors

JsonVoiceStateArrayToImmutableDictionaryConverter()

public JsonVoiceStateArrayToImmutableDictionaryConverter()

Methods

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

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

Parameters

reader Utf8JsonReader
typeToConvert Type
options JsonSerializerOptions

Returns

ImmutableDictionary<ulong, JsonVoiceState>

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

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

Parameters

writer Utf8JsonWriter
value ImmutableDictionary<ulong, JsonVoiceState>
options JsonSerializerOptions