| 6946 | JSON_HEDLEY_WARN_UNUSED_RESULT |
| 6947 | JSON_HEDLEY_DEPRECATED_FOR(3.8.0, parse(ptr, ptr + len)) |
| 6948 | static basic_json parse(detail::span_input_adapter&& i, |
| 6949 | const parser_callback_t cb = nullptr, |
| 6950 | const bool allow_exceptions = true, |
| 6951 | const bool ignore_comments = false) |
| 6952 | { |
| 6953 | basic_json result; |
| 6954 | parser(i.get(), cb, allow_exceptions, ignore_comments).parse(true, result); |
| 6955 | return result; |
| 6956 | } |
| 6957 | |
| 6958 | /*! |
| 6959 | @brief check if the input is valid JSON |
no test coverage detected