| 23255 | JSON_HEDLEY_WARN_UNUSED_RESULT |
| 23256 | JSON_HEDLEY_DEPRECATED_FOR(3.8.0, parse(ptr, ptr + len)) |
| 23257 | static basic_json parse(detail::span_input_adapter&& i, |
| 23258 | const parser_callback_t cb = nullptr, |
| 23259 | const bool allow_exceptions = true, |
| 23260 | const bool ignore_comments = false) |
| 23261 | { |
| 23262 | basic_json result; |
| 23263 | parser(i.get(), cb, allow_exceptions, ignore_comments).parse(true, result); |
| 23264 | return result; |
| 23265 | } |
| 23266 | |
| 23267 | /// @brief check if the input is valid JSON |
| 23268 | /// @sa https://json.nlohmann.me/api/basic_json/accept/ |
no test coverage detected