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
jsonstringThe received json.
discordBaseDiscordClientThe discord client.
Returns
- T
Type Parameters
TThe enumerable type.