Table of Contents
API reference

Method DeserializeDictionaryObject

Namespace
DisCatSharp.Net.Serialization
Assembly
DisCatSharp.dll

DeserializeDictionaryObject<TKey, TValue>(string?, BaseDiscordClient?)

Deserializes the specified JSON string to a dictionary object.

public static Dictionary<TKey, TValue> DeserializeDictionaryObject<TKey, TValue>(string? json, BaseDiscordClient? discord)

Parameters

json string

The received json.

discord BaseDiscordClient

The discord client.

Returns

Dictionary<TKey, TValue>

Type Parameters

TKey

The key type.

TValue

The value type.