Table of Contents

Class JsonRoleArrayToImmutableDictionaryConverter

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

Constructors

JsonRoleArrayToImmutableDictionaryConverter()

public JsonRoleArrayToImmutableDictionaryConverter()

Methods

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

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

Parameters

reader Utf8JsonReader
typeToConvert Type
options JsonSerializerOptions

Returns

ImmutableDictionary<ulong, JsonRole>

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

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

Parameters

writer Utf8JsonWriter
value ImmutableDictionary<ulong, JsonRole>
options JsonSerializerOptions