dcord.util.json

Utilities releated to JSON processing.

Members

Enums

JSONFlat
enum JSONFlat
Undocumented in source.
JSONIgnore
enum JSONIgnore
Undocumented in source.
JSONTimestamp
enum JSONTimestamp
Undocumented in source.

Functions

camelCaseToUnderscores (from dcord.util.string)
string camelCaseToUnderscores(string input) via public import dcord.util.string : camelCaseToUnderscores;

Convert a camelCase string to a snake_case one. This is a pure function

deserializeFromJSON
T deserializeFromJSON(VibeJSON jsonData)
Undocumented in source. Be warned that the author may not have intended to support it.
deserializeFromJSON
void deserializeFromJSON(T sourceObj, VibeJSON sourceData)
Undocumented in source. Be warned that the author may not have intended to support it.
deserializeFromJSONArray
T[] deserializeFromJSONArray(VibeJSON jsonData, T delegate(VibeJSON) cons)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeToJSON
VibeJSON serializeToJSON(T sourceObj, string[] ignoredFields)
Undocumented in source. Be warned that the author may not have intended to support it.

Imports

VibeJSON (from vibe.data.json)
public import vibe.data.json : VibeJSON = Json, parseJsonString;
Undocumented in source.
parseJsonString (from vibe.data.json)
public import vibe.data.json : VibeJSON = Json, parseJsonString;
Undocumented in source.

Structs

JSONListToMap
struct JSONListToMap
Undocumented in source.
JSONSource
struct JSONSource
Undocumented in source.

Templates

AATypes
template AATypes(T)
Undocumented in source.
ArrayElementType
template ArrayElementType(T : T[])
Undocumented in source.

Meta