Class JsonPresenceArrayToImmutableDictionaryConverter
- Namespace
- NetCord.JsonConverters
- Assembly
- NetCord.dll
public class JsonPresenceArrayToImmutableDictionaryConverter : JsonConverter<ImmutableDictionary<ulong, JsonPresence>>
- Inheritance
-
JsonPresenceArrayToImmutableDictionaryConverter
- Inherited Members
Constructors
JsonPresenceArrayToImmutableDictionaryConverter()
public JsonPresenceArrayToImmutableDictionaryConverter()
Methods
Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
public override ImmutableDictionary<ulong, JsonPresence>? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
reader
Utf8JsonReadertypeToConvert
Typeoptions
JsonSerializerOptions
Returns
Write(Utf8JsonWriter, ImmutableDictionary<ulong, JsonPresence>, JsonSerializerOptions)
public override void Write(Utf8JsonWriter writer, ImmutableDictionary<ulong, JsonPresence> value, JsonSerializerOptions options)
Parameters
writer
Utf8JsonWritervalue
ImmutableDictionary<ulong, JsonPresence>options
JsonSerializerOptions