| 6894 | */ |
| 6895 | template<typename InputType> |
| 6896 | JSON_HEDLEY_WARN_UNUSED_RESULT |
| 6897 | static basic_json parse(InputType&& i, |
| 6898 | const parser_callback_t cb = nullptr, |
| 6899 | const bool allow_exceptions = true, |
| 6900 | const bool ignore_comments = false) |
| 6901 | { |
| 6902 | basic_json result; |
| 6903 | parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions, ignore_comments).parse(true, result); |
| 6904 | return result; |
| 6905 | } |
| 6906 | |
| 6907 | /*! |
| 6908 | @brief deserialize from a pair of character iterators |
nothing calls this directly
no test coverage detected