| 24447 | JSON_HEDLEY_WARN_UNUSED_RESULT |
| 24448 | JSON_HEDLEY_DEPRECATED_FOR(3.8.0, parse(ptr, ptr + len)) |
| 24449 | static basic_json parse(detail::span_input_adapter&& i, |
| 24450 | const parser_callback_t cb = nullptr, |
| 24451 | const bool allow_exceptions = true, |
| 24452 | const bool ignore_comments = false) |
| 24453 | { |
| 24454 | basic_json result; |
| 24455 | parser(i.get(), cb, allow_exceptions, ignore_comments).parse(true, result); |
| 24456 | return result; |
| 24457 | } |
| 24458 | |
| 24459 | /*! |
| 24460 | @brief check if the input is valid JSON |
no test coverage detected