JSON for Modern C++  3.7.3

◆ parse_event_t

using nlohmann::basic_json::parse_event_t = typename parser::parse_event_t

The parser callback distinguishes the following events:

  • object_start: the parser read { and started to process a JSON object
  • key: the parser read a key of a value in an object
  • object_end: the parser read } and finished processing a JSON object
  • array_start: the parser read [ and started to process a JSON array
  • array_end: the parser read ] and finished processing a JSON array
  • value: the parser finished reading a JSON value
Example when certain parse events are triggered
See also
parser_callback_t for more information and examples

Definition at line 15661 of file json.hpp.