| 19432 | |
| 19433 | template<typename InputAdapterType> |
| 19434 | static ::nlohmann::detail::parser<basic_json, InputAdapterType> parser( |
| 19435 | InputAdapterType adapter, |
| 19436 | detail::parser_callback_t<basic_json>cb = nullptr, |
| 19437 | const bool allow_exceptions = true, |
| 19438 | const bool ignore_comments = false |
| 19439 | ) |
| 19440 | { |
| 19441 | return ::nlohmann::detail::parser<basic_json, InputAdapterType>(std::move(adapter), |
| 19442 | std::move(cb), allow_exceptions, ignore_comments); |
| 19443 | } |
| 19444 | |
| 19445 | private: |
| 19446 | using primitive_iterator_t = ::nlohmann::detail::primitive_iterator_t; |