7 #ifndef GDCORE_SERIALIZER_H
8 #define GDCORE_SERIALIZER_H
10 #include "GDCore/Serialization/SerializerElement.h"
25 #if !defined(EMSCRIPTEN)
28 const TiXmlElement* xmlElement);
56 return FromJSON(json.
c_str());
A generic container that can represent a value ( containing a string, double, bool or int),...
Definition: SerializerElement.h:37
The class used to save/load projects and GDCore classes from/to XML or JSON.
Definition: Serializer.h:19
static SerializerElement FromJSON(const gd::String &json)
Construct a gd::SerializerElement from a JSON string.
Definition: Serializer.h:55
String represents an UTF8 encoded string.
Definition: String.h:31
const char * c_str() const
Get the C-string.
Definition: String.h:357
Definition: CommonTools.h:24