| 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 |
no test coverage detected