MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / sax_parse

Function sax_parse

native/thirdpart/json/json.hpp:20814–20822  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20812 template <typename SAX>
20813 JSON_HEDLEY_NON_NULL(2)
20814 static bool sax_parse(detail::input_adapter&& i, SAX* sax,
20815 input_format_t format = input_format_t::json,
20816 const bool strict = true)
20817 {
20818 assert(sax);
20819 return format == input_format_t::json
20820 ? parser(std::move(i)).sax_parse(sax, strict)
20821 : detail::binary_reader<basic_json, SAX>(std::move(i)).sax_parse(format, sax, strict);
20822 }
20823
20824 /*!
20825 @brief deserialize from an iterator range with contiguous storage

Callers 1

acceptMethod · 0.85

Calls 3

parserClass · 0.85
input_adapterClass · 0.85
sax_parseMethod · 0.80

Tested by

no test coverage detected