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

serialize to stream

== Synopsis

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

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

== Return Value

the stream _o_

== Parameters

[cols="1,4"]
|===
| Name| Description
| *o*
| stream to serialize to
| *j*
| JSON value to serialize
|===


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