ASL
|
Static functions to encode/decode XDL data.
#include <Xdl.h>
Static Public Member Functions | |
static Var | read (const String &file) |
Reads and decodes data from a file in XDL format. | |
static bool | write (const Var &v, const String &file, int mode=Json::NICE) |
Writes a var to a file in XDL format. | |
static Var | decode (const String &xdl) |
Decodes the XDL-encoded string into a Var that will contain all the structure. More... | |
static String | encode (const Var &v, int mode=Json::SIMPLE) |
Encodes the given Var into an XDL-format representation. | |
Decodes the XDL-encoded string into a Var that will contain all the structure.
If there are format parsing errors, the result will be a Var::NONE
typed variable.