libdas2
das2 core C utilities
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Data Fields
DasJdo Struct Reference

#include <das2/json.h>

Detailed Description

JSON Dom Element.

Public Member Functions

const DasJdoDasJdo_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...
 

Field Documentation

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


The documentation for this struct was generated from the following file: