hunt.util.Serialize

Undocumented in source.

Public Imports

std.json
public import std.json;
Undocumented in source.

Members

Aliases

toJSON
deprecated alias toJSON = toJson
Undocumented in source.
toOBJ
deprecated alias toOBJ = toObject
Undocumented in source.

Classes

UnIgnoreArray
class UnIgnoreArray
Undocumented in source.

Functions

getsize
size_t getsize(T t)
Undocumented in source. Be warned that the author may not have intended to support it.
serialize
byte[] serialize(T t)
Undocumented in source. Be warned that the author may not have intended to support it.
serialize
byte[] serialize(T t)
Undocumented in source. Be warned that the author may not have intended to support it.
toJson
JSONValue toJson(T t, uint level, bool ignore)
Undocumented in source. Be warned that the author may not have intended to support it.
toJson
JSONValue toJson(T t, UnIgnoreArray array, uint level)
Undocumented in source. Be warned that the author may not have intended to support it.
toObject
T toObject(JSONValue j)
Undocumented in source. Be warned that the author may not have intended to support it.
toTextString
string toTextString(JSONValue root, bool pretty, JSONOptions options)

Takes a tree of JSON values and returns the serialized string.

unserialize
T unserialize(const(ubyte)[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
unserialize
T unserialize(byte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
unserialize
T unserialize(const(ubyte)[] data, long parse_index)
Undocumented in source. Be warned that the author may not have intended to support it.
unserialize
T unserialize(byte[] data, long parse_index)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

IGNORE
enum IGNORE;
Undocumented in source.

Mixin templates

SerializationMember
mixintemplate SerializationMember(T)

Meta