ucx
UAP Common Extensions
Loading...
Searching...
No Matches
Data Fields
cx_json_s Struct Reference

The JSON parser interface. More...

#include <json.h>

Data Fields

const CxAllocatorallocator
 The allocator used for produced JSON values.
 
CxBuffer buffer
 The input buffer.
 
CxJsonToken uncompleted
 Used internally.
 
CxJsonValueparsed
 A pointer to an intermediate state of the currently parsed value.
 
CxJsonObjValue uncompleted_member
 A pointer to an intermediate state of a currently parsed object member.
 
int * states
 State stack.
 
unsigned states_size
 Array size.
 
unsigned states_capacity
 Array capacity.
 
CxJsonValue ** vbuf
 Value buffer stack.
 
unsigned vbuf_size
 Array size.
 
unsigned vbuf_capacity
 Array capacity.
 
int states_internal [8]
 Internally reserved memory for the state stack.
 
CxJsonValuevbuf_internal [8]
 Internally reserved memory for the value buffer stack.
 

Detailed Description

The JSON parser interface.

Field Documentation

◆ parsed

CxJsonValue* cx_json_s::parsed

A pointer to an intermediate state of the currently parsed value.

Never access this value manually.

◆ uncompleted

CxJsonToken cx_json_s::uncompleted

Used internally.

Remembers the prefix of the last uncompleted token.

◆ uncompleted_member

CxJsonObjValue cx_json_s::uncompleted_member

A pointer to an intermediate state of a currently parsed object member.

Never access this value manually.


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