| 23254 | */ |
| 23255 | template<typename IteratorType> |
| 23256 | JSON_HEDLEY_WARN_UNUSED_RESULT |
| 23257 | static basic_json parse(IteratorType first, |
| 23258 | IteratorType last, |
| 23259 | const parser_callback_t cb = nullptr, |
| 23260 | const bool allow_exceptions = true, |
| 23261 | const bool ignore_comments = false) |
| 23262 | { |
| 23263 | basic_json result; |
| 23264 | parser(detail::input_adapter(std::move(first), std::move(last)), cb, allow_exceptions, ignore_comments).parse(true, result); |
| 23265 | return result; |
| 23266 | } |
| 23267 | |
| 23268 | JSON_HEDLEY_WARN_UNUSED_RESULT |
| 23269 | JSON_HEDLEY_DEPRECATED_FOR(3.8.0, parse(ptr, ptr + len)) |
nothing calls this directly
no test coverage detected