JSON_Lua_SerializerToken

Serializer to save data in json|lua tokens format If serialized data have to be allocated it is not saved/loaded unless it has "malloc" UDA (@("malloc"))

Members

Aliases

SliceElementType
alias SliceElementType = TokenData
Undocumented in source.

Functions

beginObject
int beginObject(COS con)
Undocumented in source. Be warned that the author may not have intended to support it.
endObject
void endObject(COS con, int begin)
Undocumented in source. Be warned that the author may not have intended to support it.
loadClassOrStruct
void loadClassOrStruct(T var, COS con)
Undocumented in source. Be warned that the author may not have intended to support it.
saveClassOrStruct
void saveClassOrStruct(T var, COS con)
Undocumented in source. Be warned that the author may not have intended to support it.
serialize
void serialize(T var, COS con)

Function loads and saves data depending on compile time variable load If useMalloc is true pointers, arrays, classes will be saved and loaded using Mallocator T is the serialized variable COS is string when load==Load.yes COS container supplied by user in which data is stored when load==Load.no(save)

serialize
void serialize(T var, COS con)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeBasicVar
void serializeBasicVar(T var, COS con)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeChar
void serializeChar(T var, COS con)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeClass
void serializeClass(T var, COS con)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeCustomMap
void serializeCustomMap(T var, COS con)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeCustomVector
void serializeCustomVector(T var, COS con)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeDynamicArray
void serializeDynamicArray(T var, COS con)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeImpl
void serializeImpl(T var, COS con)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeKeyValue
void serializeKeyValue(Key key, Value value, COS con)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeName
void serializeName(string name, COS con)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeName
void serializeName(string name, COS con)
Undocumented in source. Be warned that the author may not have intended to support it.
serializePointer
void serializePointer(T var, COS con)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeStaticArray
void serializeStaticArray(T var, COS con)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeString
void serializeString(T var, COS con)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeStruct
void serializeStruct(T var, COS con)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeWithName
bool serializeWithName(T var, COS con)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

instance
typeof(this) instance;
Undocumented in source.

Meta