[#nlohmann-operator_lshift-01]
= xref:nlohmann.adoc[nlohmann]::operator&lt;&lt;
:relfileprefix: ../
:mrdocs:

deserialize from stream

== Synopsis

Declared in `&lt;nlohmann&sol;json&period;hpp&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
std::istream&
operator&lt;&lt;(
    xref:nlohmann/basic_json-0c.adoc[basic&lowbar;json]& j,
    std::istream& i);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]: Since 3&period;0&period;0&semi; use operator&gt;&gt;(std&colon;&colon;istream&amp;, basic&lowbar;json&amp;). Use of this entity is allowed but discouraged.
====
== Return Value

the stream _i_

== Parameters

[cols="1,4"]
|===
| Name| Description
| *j*
| JSON value to deserialize into
| *i*
| stream to deserialize from
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
