Table of Contents
API reference

Method DeserializeIEnumerableObject

Namespace
DisCatSharp.Net.Serialization
Assembly
DisCatSharp.dll

DeserializeIEnumerableObject<T>(string?, BaseDiscordClient?)

Deserializes the specified JSON string to an object of the type IEnumerable<T>.

public static T DeserializeIEnumerableObject<T>(string? json, BaseDiscordClient? discord) where T : IEnumerable<ObservableApiObject>

Parameters

json string

The received json.

discord BaseDiscordClient

The discord client.

Returns

T

Type Parameters

T

The enumerable type.