[#nlohmann-operator_rshift-05] = xref:nlohmann.adoc[nlohmann]::operator>> :relfileprefix: ../ :mrdocs: serialize to stream == Synopsis Declared in `<nlohmann/json.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] std::ostream& operator>>( xref:nlohmann/basic_json-0c.adoc[basic_json] const& j, std::ostream& o); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]: Since 3.0.0; use operator<<(std::ostream&, const basic_json&). Use of this entity is allowed but discouraged. ==== == Return Value the stream _o_ == Parameters [cols="1,4"] |=== | Name| Description | *j* | JSON value to serialize | *o* | stream to serialize to |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#