Data type JSONElement
access this type via: data.json.JSONParser (uses)
Data type returned by a JSON parser, representing a parsed document as a tree.
Constants
byte TYPE_OBJECT Possible value for the 'type' field, indicating that this element is an object.
byte TYPE_STRING Possible value for the 'type' field, indicating that this element is a string.
byte TYPE_NUMBER Possible value for the 'type' field, indicating that this element is a number.
byte TYPE_BOOLEAN Possible value for the 'type' field, indicating that this element is a boolean value (true/false).
byte TYPE_ARRAY Possible value for the 'type' field, indicating that this element is an array.
byte TYPE_NULL Possible value for the 'type' field, indicating that this element is the special value 'null'.
Fields
int type This field holds the type of this JSON document element.
char name[] The field name of this JSON document element.
char value[] The value this JSON document element, if it's a primitive type.
JSONElement children[] The value this JSON document element, if it's an object or array type.