Virgil IoT KIT
Data Fields
jobj_t Struct Reference

Object used by the JSON parser internally. More...

#include <json_parser.h>

Data Fields

json_parser_t parser
 Internal JSON parser object. More...
 
char * js
 Pointer to JSON string. More...
 
jsontok_ttokens
 Pointer to JSON tokens array. More...
 
jsontok_tcur
 Pointer to current active JSON token. More...
 
int num_tokens
 Number of tokens available for parser. More...
 

Detailed Description

Object used by the JSON parser internally.

This object needs to be defined by the application but all the elements will be set internally by the JSON parser. Please refer #json_parser_usage for more information.

Note
Please do not modify any elements of this object

Field Documentation

◆ cur

jsontok_t* jobj_t::cur

Pointer to current active JSON token.

◆ js

char* jobj_t::js

Pointer to JSON string.

◆ num_tokens

int jobj_t::num_tokens

Number of tokens available for parser.

◆ parser

json_parser_t jobj_t::parser

Internal JSON parser object.

◆ tokens

jsontok_t* jobj_t::tokens

Pointer to JSON tokens array.


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