7 #ifndef GDCORE_SERIALIZER_H
8 #define GDCORE_SERIALIZER_H
10 #include "GDCore/Serialization/SerializerElement.h"
51 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:18
static SerializerElement FromJSON(const gd::String &json)
Construct a gd::SerializerElement from a JSON string.
Definition: Serializer.h:50
String represents an UTF8 encoded string.
Definition: String.h:33
const char * c_str() const
Get the C-string.
Definition: String.h:359
Definition: CommonTools.h:24