Class DiscordJson
- Namespace
- DisCatSharp.Net.Serialization
- Assembly
- DisCatSharp.dll
Represents discord json.
public static class DiscordJson
- Inheritance
-
DiscordJson
- Inherited Members
Methods
- DeserializeIEnumerableObject<T>(string?, BaseDiscordClient?)
Deserializes the specified JSON string to an object of the type IEnumerable<T>.
- DeserializeObject<T>(string?, BaseDiscordClient?)
Deserializes the specified JSON string to an object.
- PopulateObject(JToken, object)
Populates an object with the values from a JSON node.
- SerializeObject(object)
Serializes the specified object to a JSON string.
- ToDiscordObject<T>(JToken)
Converts this token into an object, passing any properties through extra Newtonsoft.Json.JsonConverters if needed.