| 19344 | |
| 19345 | template<typename InputAdapterType> |
| 19346 | static ::nlohmann::detail::parser<basic_json, InputAdapterType> parser( |
| 19347 | InputAdapterType adapter, |
| 19348 | detail::parser_callback_t<basic_json>cb = nullptr, |
| 19349 | const bool allow_exceptions = true, |
| 19350 | const bool ignore_comments = false |
| 19351 | ) |
| 19352 | { |
| 19353 | return ::nlohmann::detail::parser<basic_json, InputAdapterType>(std::move(adapter), |
| 19354 | std::move(cb), allow_exceptions, ignore_comments); |
| 19355 | } |
| 19356 | |
| 19357 | private: |
| 19358 | using primitive_iterator_t = ::nlohmann::detail::primitive_iterator_t; |