Table of Contents

Class JsonGuildUserArrayToImmutableDictionaryConverter

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

Constructors

JsonGuildUserArrayToImmutableDictionaryConverter()

public JsonGuildUserArrayToImmutableDictionaryConverter()

Methods

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

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

Parameters

reader Utf8JsonReader
typeToConvert Type
options JsonSerializerOptions

Returns

ImmutableDictionary<ulong, JsonGuildUser>

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

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

Parameters

writer Utf8JsonWriter
value ImmutableDictionary<ulong, JsonGuildUser>
options JsonSerializerOptions