NetBurner 3.4.0f
PDF Version


 
Loading...
Searching...
No Matches
Primitive Types

Enumerations

enum  json_primitive_type {
  UNDEFINED , BEGIN_ARRAY , BEGIN_OBJECT , END_ARRAY ,
  END_OBJECT , NAME , STRING , VALUE_SEPERATOR ,
  NUMBER , FALSE_EL , TRUE_EL , NULL_EL ,
  STRING_TOO_BIG , ALLOC_STRING , NOTFOUND , EOF_EL
}
 The following types define the basic building blocks that make up a JSON data set. These are the values that will be returned from the functions used to parse the data set. Member functions include operators to return specific data type, as well as type validity checks. More...
 

Detailed Description

Enumeration Type Documentation

◆ json_primitive_type

The following types define the basic building blocks that make up a JSON data set. These are the values that will be returned from the functions used to parse the data set. Member functions include operators to return specific data type, as well as type validity checks.

Enumerator
UNDEFINED 

Not a defined primitive type. This indicates an error somewhere.

BEGIN_ARRAY 

[ - Signals the start of an array.

BEGIN_OBJECT 

{ - Signals the start of an object.

END_ARRAY 

] - Signals the end of an array.

END_OBJECT 

} - Signals the end of an object.

NAME 

"xxx": - Signals the name of a name/value pair.

STRING 

"xxx" - An element with a string value.

VALUE_SEPERATOR 

, - Signals the separation between to arrays, objects, or values.

NUMBER 

An element with a number value.

FALSE_EL 

An element with the value false.

TRUE_EL 

An element with the value true.

NULL_EL 

An element with the null value.

STRING_TOO_BIG 

Error, we got a sting but it was too big to fit in the storage scheme (1500 bytes).

ALLOC_STRING 

We allocated a large string.

NOTFOUND 

Return value when we don't find what we are looking for.

EOF_EL 

Last token in the data set.