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
explicit basic_json(std::istream& i, const parser_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)
The constructor basic_json(std::istream&, const parser_callback_t) has
been deprecated since version 2.0.0. This commit removes it together
with its code example, deprecation macro, and test cases. The code now
also compiles with -W-deprecated-declarations.
Function
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:
parse(std::istream& i, const parser_callback_t cb = nullptr)
std::istream& operator<<(basic_json& j, std::istream& i)
std::istream& operator>>(std::istream& i, basic_json& j)
That is, code without callback
cb
must be replaced by either
Code with a callback function
cb
must be replaced by
The text was updated successfully, but these errors were encountered: