FreeWRL / FreeX3D 4.3.0
cson_parse_info Struct Reference

A class for holding JSON parser information. More...

#include <cson_amalgamation_core.h>

Data Fields

unsigned int line
 1-based line number.
 
unsigned int col
 0-based column number.
 
unsigned int length
 Length, in bytes.
 
int errorCode
 Error code of the parse run (0 for no error).
 
unsigned int totalKeyCount
 The total number of object keys successfully processed by the parser.
 
unsigned int totalValueCount
 The total number of object/array values successfully processed by the parser, including the root node.
 

Detailed Description

A class for holding JSON parser information.

It is primarily intended for finding the position of a parse error.

Definition at line 458 of file cson_amalgamation_core.h.

Field Documentation

◆ col

unsigned int cson_parse_info::col

0-based column number.

Definition at line 467 of file cson_amalgamation_core.h.

◆ errorCode

int cson_parse_info::errorCode

Error code of the parse run (0 for no error).

Definition at line 477 of file cson_amalgamation_core.h.

◆ length

unsigned int cson_parse_info::length

Length, in bytes.

Definition at line 472 of file cson_amalgamation_core.h.

◆ line

unsigned int cson_parse_info::line

1-based line number.

Definition at line 463 of file cson_amalgamation_core.h.

◆ totalKeyCount

unsigned int cson_parse_info::totalKeyCount

The total number of object keys successfully processed by the parser.

Definition at line 483 of file cson_amalgamation_core.h.

◆ totalValueCount

unsigned int cson_parse_info::totalValueCount

The total number of object/array values successfully processed by the parser, including the root node.

Definition at line 489 of file cson_amalgamation_core.h.


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