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

Left shift operators

== Synopses

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

deserialize from stream


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

[.small]#xref:nlohmann/operator_lshift-01.adoc[_» more&period;&period;&period;_]#

serialize to stream


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::ostream&
xref:nlohmann/operator_lshift-04.adoc[operator&lt;&lt;](
    std::ostream& o,
    xref:nlohmann/basic_json-00.adoc[basic&lowbar;json] const& j);
----

[.small]#xref:nlohmann/operator_lshift-04.adoc[_» more&period;&period;&period;_]#

write string representation of the JSON pointer to stream


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::ostream&
operator&lt;&lt;(
    std::ostream& o,
    xref:nlohmann/json_pointer-0a.adoc[json&lowbar;pointer] const& ptr);
----

[.small]#[_» more&period;&period;&period;_]#

deserialize from stream


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

[.small]#xref:nlohmann/operator_lshift-0d.adoc[_» more&period;&period;&period;_]#

serialize to stream


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::ostream&
xref:nlohmann/operator_lshift-0c.adoc[operator&lt;&lt;](
    std::ostream& o,
    xref:nlohmann/basic_json-00.adoc[basic&lowbar;json&lt;&gt;] const& j);
----

[.small]#xref:nlohmann/operator_lshift-0c.adoc[_» more&period;&period;&period;_]#


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