Macros¶
JasonPP comes with a handful of macros to make the syntax look a little neater.
Without much explaining, here they are:
#define AsNullGetNullData()
#define AsBoolGetBoolData()
#define AsIntGetIntData()
#define AsFloatGetFloatData()
#define AsStringGetStringData()
#define AsJsonGetJsonData()
#define AsArrayGetArrayData()
#define Arr std::vector<JasonPP::JsonData>
#define Ele JasonPP::JsonElement