Home
last modified time | relevance | path

Searched refs:parse_event_t (Results 1 – 10 of 10) sorted by relevance

/third_party/json/doc/mkdocs/docs/features/parsing/
Dparser_callbacks.md6 (passed as `parse_event_t` via parameter `event`) with a set recursion depth `depth` and context JS…
14 std::function<bool(int depth, parse_event_t event, BasicJsonType& parsed)>;
25 `parse_event_t::object_start` | the parser read `{` and started to process a JSON object | depth of…
26 `parse_event_t::key` | the parser read a key of a value in an object | depth of the currently parse…
27 `parse_event_t::object_end` | the parser read `}` and finished processing a JSON object | depth of …
28 `parse_event_t::array_start` | the parser read `[` and started to process a JSON array | depth of t…
29 `parse_event_t::array_end` | the parser read `]` and finished processing a JSON array | depth of th…
30 `parse_event_t::value` | the parser finished reading a JSON value | depth of the value | the parsed…
/third_party/json/test/src/
Dunit-regression2.cpp172 json::parser_callback_t cb = [&](int, json::parse_event_t event, json & parsed)
175 if (event == json::parse_event_t::value && !parsed.is_primitive()) in __anonafded0820202()
182 case json::parse_event_t::key: in __anonafded0820202()
186 case json::parse_event_t::value: in __anonafded0820202()
190 case json::parse_event_t::object_start: in __anonafded0820202()
194 case json::parse_event_t::object_end: in __anonafded0820202()
198 case json::parse_event_t::array_start: in __anonafded0820202()
202 case json::parse_event_t::array_end: in __anonafded0820202()
Dunit-class_parser.cpp271 json::parser_callback_t cb = [](int, json::parse_event_t, json&) in accept_helper()
1503 json::parser_callback_t cb = [](int, json::parse_event_t event, json&)
1505 if (event == json::parse_event_t::key) in __anonaacc11310502()
1549 json j_object = json::parse(s_object, [](int, json::parse_event_t, const json&)
1556 json j_array = json::parse(s_array, [](int, json::parse_event_t, const json&) argument
1566 json j_object = json::parse(s_object, [](int, json::parse_event_t, const json&) argument
1574 json j_array = json::parse(s_array, [](int, json::parse_event_t, const json&) argument
1585 json j_object = json::parse(s_object, [](int, json::parse_event_t, const json & j) argument
1600 json j_array = json::parse(s_array, [](int, json::parse_event_t, const json & j) argument
1617 …json j_filtered1 = json::parse(structured_array, [](int, json::parse_event_t e, const json & parse… argument
[all …]
Dunit-ubjson.cpp1612 …ohmann::detail::json_sax_dom_callback_parser<json> scp(j, [](int, json::parse_event_t, const json&)
1626 …ohmann::detail::json_sax_dom_callback_parser<json> scp(j, [](int, json::parse_event_t, const json&) argument
Dunit-cbor.cpp1611 … auto callback = [&binary_seen](int /*depth*/, json::parse_event_t /*event*/, json & parsed)
/third_party/json/include/nlohmann/detail/input/
Djson_sax.hpp332 using parse_event_t = typename BasicJsonType::parse_event_t; typedef in nlohmann::detail::json_sax_dom_callback_parser
394 …const bool keep = callback(static_cast<int>(ref_stack.size()), parse_event_t::object_start, discar… in start_object()
414 const bool keep = callback(static_cast<int>(ref_stack.size()), parse_event_t::key, k); in key()
428 …if (ref_stack.back() && !callback(static_cast<int>(ref_stack.size()) - 1, parse_event_t::object_en… in end_object()
457 …const bool keep = callback(static_cast<int>(ref_stack.size()), parse_event_t::array_start, discard… in start_array()
478 …keep = callback(static_cast<int>(ref_stack.size()) - 1, parse_event_t::array_end, *ref_stack.back(… in end_array()
550 … keep = skip_callback || callback(static_cast<int>(ref_stack.size()), parse_event_t::value, value); in handle_value()
Dparser.hpp26 enum class parse_event_t : uint8_t enum
44 std::function<bool(int depth, parse_event_t event, BasicJsonType& parsed)>;
/third_party/json/doc/mkdocs/docs/api/basic_json/
Dindex.md89 - parse_event_t
/third_party/json/single_include/nlohmann/
Djson.hpp5511 using parse_event_t = typename BasicJsonType::parse_event_t; typedef in nlohmann::detail::json_sax_dom_callback_parser
5573 …const bool keep = callback(static_cast<int>(ref_stack.size()), parse_event_t::object_start, discar… in start_object()
5593 const bool keep = callback(static_cast<int>(ref_stack.size()), parse_event_t::key, k); in key()
5607 …if (ref_stack.back() && !callback(static_cast<int>(ref_stack.size()) - 1, parse_event_t::object_en… in end_object()
5636 …const bool keep = callback(static_cast<int>(ref_stack.size()), parse_event_t::array_start, discard… in start_array()
5657 …keep = callback(static_cast<int>(ref_stack.size()) - 1, parse_event_t::array_end, *ref_stack.back(… in end_array()
5729 … keep = skip_callback || callback(static_cast<int>(ref_stack.size()), parse_event_t::value, value); in handle_value()
10137 enum class parse_event_t : uint8_t enum
10155 std::function<bool(int depth, parse_event_t event, BasicJsonType& parsed)>;
17738 using parse_event_t = detail::parse_event_t; typedef in nlohmann::basic_json
/third_party/json/include/nlohmann/
Djson.hpp1250 using parse_event_t = detail::parse_event_t; typedef in nlohmann::basic_json