You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
explicitbasic_json(std::istream& i, constparser_callback_t cb = nullptr)
has been deprecated since version 2.0.0 (June 24, 2016) to unify the interface of the library. Deprecation warnings were produced with GCC, Clang, and MSVC.
To create objects from an input stream, there remain the following possibilities:
with callback:
parse(std::istream& i, const parser_callback_t cb = nullptr)
Activity
nlohmann commentedon Mar 1, 2017
As there is no other deprecated code, here is the macro for reference:
🔥 removed deprecated constructor #480
gregmarr commentedon Mar 1, 2017
Have you looked at using C++14's [[deprecated]] if C++14 is enabled?
nlohmann commentedon Mar 1, 2017
@gregmarr No, but this is a good idea for the future.
update json loading for b296dfe