| 23184 | JSON_HEDLEY_WARN_UNUSED_RESULT |
| 23185 | JSON_HEDLEY_DEPRECATED_FOR(3.8.0, parse(ptr, ptr + len)) |
| 23186 | static basic_json parse(detail::span_input_adapter&& i, |
| 23187 | const parser_callback_t cb = nullptr, |
| 23188 | const bool allow_exceptions = true, |
| 23189 | const bool ignore_comments = false) |
| 23190 | { |
| 23191 | basic_json result; |
| 23192 | parser(i.get(), cb, allow_exceptions, ignore_comments).parse(true, result); |
| 23193 | return result; |
| 23194 | } |
| 23195 | |
| 23196 | /*! |
| 23197 | @brief check if the input is valid JSON |
no test coverage detected