libdas2
das2 core C utilities
|
#include <das2/json.h>
JSON Dom Element.
Public Member Functions | |
const DasJdo * | DasJdo_get (const DasJdo *pThis, const char *sRelPath) |
Given a DOM path retrieve a JSON element. More... | |
void * | DasJdo_writeMinified (const DasJdo *pThis, size_t *out_size) |
Write out a minified JSON utf-8 string. More... | |
Data Fields | |
void * | value |
a pointer to either a das_json_str, das_json_num, das_json_dict, or das_json_ary. More... | |
size_t | type |
must be one of das_json_type_e. More... | |
void* value |
a pointer to either a das_json_str, das_json_num, das_json_dict, or das_json_ary.
Should be cast to the appropriate struct type based on what the type parameter
size_t type |
must be one of das_json_type_e.
If type is dasj_objtype_true, dasj_objtype_false, or dasj_objtype_null, payload will be NULL