GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
List of all members
gd::Serializer Class Reference

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.

Serialize a SerializerElement from/to XML.

static void ToXML (SerializerElement &element, TiXmlElement *xmlElement)
 
static void FromXML (SerializerElement &element, const TiXmlElement *xmlElement)
 
JSON serialization.

Serialize a SerializerElement from/to JSON.

static gd::String ToJSON (const SerializerElement &element)
 
static SerializerElement FromJSON (const std::string &json)
 
static SerializerElement FromJSON (const gd::String &json)
 

Detailed Description

The class used to save/load projects and GDCore classes from/to XML or JSON.


The documentation for this class was generated from the following files: