Loading...
Searching...
No Matches
jsonbourne_val Struct Reference
Tagged DOM value; children and text borrow the root allocation's lifetime. More...
#include <jsonbourne.h>
Data Fields | |
| void * | ptr |
| size_t | type |
Detailed Description
Tagged DOM value; children and text borrow the root allocation's lifetime.
- Note
- Release an allocated tree once at its root, never by freeing individual payloads or entries. Caller-buffer roots must not be passed to free().
Definition at line 250 of file jsonbourne.h.
Field Documentation
◆ ptr
| void* jsonbourne_val::ptr |
Payload selected by type; parsed literals use NULL.
Definition at line 251 of file jsonbourne.h.
◆ type
| size_t jsonbourne_val::type |
One of the jsonbourne_type enumerators.
Definition at line 252 of file jsonbourne.h.
The documentation for this struct was generated from the following file:
- src/jsonbourne.h