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

The JSON parser interface. More...

#include <json.h>

Data Fields

const CxAllocator * allocator
 The allocator used for produced JSON values.
CxBuffer buffer
 The input buffer.
CxJsonValue * parsed
 A pointer to an intermediate state of the currently parsed value.
cxmutstr uncompleted_member_name
 The name of a not yet completely parsed object member.
cxmutstr uncompleted_content
 Internal buffer for uncompleted tokens.
CxJsonTokenType uncompleted_tokentype
 The expected type of the currently parsed, uncompleted token.
struct { 
   int *   data 
   size_t   size 
   size_t   capacity 
} states
 State stack.
struct { 
   CxJsonValue **   data 
   size_t   size 
   size_t   capacity 
} vbuf
 Value buffer stack.
int states_internal [8]
 Internally reserved memory for the state stack.
CxJsonValue * vbuf_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_member_name

cxmutstr cx_json_s::uncompleted_member_name

The name of a not yet completely parsed object member.

Never access this value manually.


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