GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
|
The class used to save/load projects and GDCore classes from/to XML or JSON. More...
#include <Serializer.h>
Static Public Member Functions | |
XML serialization. | |
Convert a gd::SerializerElement from/to XML. | |
static gd::String | ToEscapedXMLString (const gd::String &str) |
Escape a string for inclusion in a XML tag. | |
JSON serialization. | |
Convert a gd::SerializerElement from/to JSON. This uses RapidJSON for fast parsing and stringification. See https://github.com/miloyip/nativejson-benchmark | |
static gd::String | ToJSON (const SerializerElement &element) |
Serialize a gd::SerializerElement to a JSON string. | |
static SerializerElement | FromJSON (const char *json) |
Construct a gd::SerializerElement from a JSON string. | |
static SerializerElement | FromJSON (const gd::String &json) |
Construct a gd::SerializerElement from a JSON string. | |
The class used to save/load projects and GDCore classes from/to XML or JSON.