|
| void | Reset () |
| | Reset the container to re-use for new data.
|
| |
| string | GetDataExtension () |
| | Data extension of the serialized format (e.g. txt, csv, yml) if stored in a filesystem.
|
| |
| string | SaveToString () |
| | Export the data as string to be written to disk etc.
|
| |
| bool | StartObject () |
| | Objects are serialized as sequence of: StartObject() WriteKey("myValue"); WriteInt(42); WriteKey("anotherValue") WriteFloat(13.37); ... EndObject();.
|
| |
| bool | EndObject () |
| |
| bool | StartArray (int count) |
| | Arrays don't have named values and as such are only a sequence of value writes.
|
| |
| bool | EndArray () |
| |
| bool | StartMap (int count) |
| | Maps are key value pairs which are written similar to objects, as sequence of WriteKey(key) + WriteXXX(value); Keys are converted automatically to strings for serialization for cases such as map<int, float>.
|
| |
| bool | EndMap () |
| |
| bool | WriteKey (string key) |
| | Key writer for named properties in objects or map keys.
|
| |
| bool | WriteNull () |
| | Typed value writers.
|
| |
| bool | WriteBool (bool value) |
| |
| bool | WriteString (string value) |
| |
| bool | WriteInt (int value) |
| |
| bool | WriteFloat (float value) |
| |
| bool | WriteVector (vector value) |
| |
The documentation for this interface was generated from the following file:
- Game/Plugins/Serialization/BackwardsCompatiblity.c