Enum type
Description
Indicates a JSON value's type.
In early versions of sajson, this was the tag value directly from the parsed AST storage, but, to preserve API compabitility, it is now synthesized.
Values
TYPE_INTEGER | Mentioned in:
| ||
TYPE_DOUBLE | Mentioned in:
| ||
TYPE_NULL | Mentioned in:
| ||
TYPE_FALSE | Mentioned in:
| ||
TYPE_TRUE | Mentioned in:
| ||
TYPE_STRING | Mentioned in:
| ||
TYPE_ARRAY | Mentioned in:
| ||
TYPE_OBJECT | Mentioned in:
|
Source
Lines 76-85 in include/sajson.h.
enum type : uint8_t {
TYPE_INTEGER,
TYPE_DOUBLE,
TYPE_NULL,
TYPE_FALSE,
TYPE_TRUE,
TYPE_STRING,
TYPE_ARRAY,
TYPE_OBJECT,
};