| 23170 | */ |
| 23171 | template<typename IteratorType> |
| 23172 | JSON_HEDLEY_WARN_UNUSED_RESULT |
| 23173 | static basic_json parse(IteratorType first, |
| 23174 | IteratorType last, |
| 23175 | const parser_callback_t cb = nullptr, |
| 23176 | const bool allow_exceptions = true, |
| 23177 | const bool ignore_comments = false) |
| 23178 | { |
| 23179 | basic_json result; |
| 23180 | parser(detail::input_adapter(std::move(first), std::move(last)), cb, allow_exceptions, ignore_comments).parse(true, result); |
| 23181 | return result; |
| 23182 | } |
| 23183 | |
| 23184 | JSON_HEDLEY_WARN_UNUSED_RESULT |
| 23185 | JSON_HEDLEY_DEPRECATED_FOR(3.8.0, parse(ptr, ptr + len)) |
nothing calls this directly
no test coverage detected