sgs_SerializeObjIndex [function]
void sgs_SerializeObjIndex( sgs_Context* C, sgs_Variable key, sgs_Variable val, int isprop )
Serialize an object's property/index.
- This function is used to serialize structures that may contain references to other variables...
- ...which leave them open to producing a self-referential construct that normal tree serialization cannot handle.
- Only supported by serialization modes 1 and 2 (binary).
- Mode 1 support does not actually allow serializing self-referential structures.
- For usage examples, see source code in
sgs_std.c
.