diff --git a/doc/examples/operator_deserialize.cpp b/doc/examples/operator_deserialize.cpp
index 06656b65..b553cf67 100644
--- a/doc/examples/operator_deserialize.cpp
+++ b/doc/examples/operator_deserialize.cpp
@@ -18,7 +18,7 @@ int main()
// create JSON value and read the serialization from the stream
json j;
- j << ss;
+ ss >> j;
// serialize JSON
std::cout << std::setw(2) << j << '\n';
diff --git a/doc/examples/operator_deserialize.link b/doc/examples/operator_deserialize.link
index 4544a65b..407b40e1 100644
--- a/doc/examples/operator_deserialize.link
+++ b/doc/examples/operator_deserialize.link
@@ -1 +1 @@
-online
\ No newline at end of file
+online
\ No newline at end of file
diff --git a/src/json.hpp b/src/json.hpp
index 10af0e0d..ce2fb44e 100644
--- a/src/json.hpp
+++ b/src/json.hpp
@@ -12818,6 +12818,7 @@ class basic_json
future version of the library. Please use
@ref operator<<(std::ostream&, const basic_json&)
instead; that is, replace calls like `j >> o;` with `o << j;`.
+ @since version 1.0.0; deprecated since version 3.0.0
*/
JSON_DEPRECATED
friend std::ostream& operator>>(const basic_json& j, std::ostream& o)
@@ -13001,6 +13002,7 @@ class basic_json
future version of the library. Please use
@ref operator>>(std::istream&, basic_json&)
instead; that is, replace calls like `j << i;` with `i >> j;`.
+ @since version 1.0.0; deprecated since version 3.0.0
*/
JSON_DEPRECATED
friend std::istream& operator<<(basic_json& j, std::istream& i)