forked from Research/WhisperCom
Dominik Meyer
cc002ebfbb
git-subtree-dir: libs/json git-subtree-split: f42a74b8f53cc308647123d49d33d1c8122e3f42
774 B
774 B
basic_json::parse_event_t
enum class parse_event_t : std::uint8_t {
object_start,
object_end,
array_start,
array_end,
key,
value
};
The parser callback distinguishes the following events:
object_start
: the parser read{
and started to process a JSON objectkey
: the parser read a key of a value in an objectobject_end
: the parser read}
and finished processing a JSON objectarray_start
: the parser read[
and started to process a JSON arrayarray_end
: the parser read]
and finished processing a JSON arrayvalue
: the parser finished reading a JSON value
Example
Version history
- Added in version 1.0.0.