[#nlohmann-basic_json-00-push_back-04]
= xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-00.adoc[basic&lowbar;json]::push&lowbar;back
:relfileprefix: ../../
:mrdocs:

add an object to an object

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
push&lowbar;back(xref:nlohmann/basic_json-00/initializer_list_t.adoc[initializer&lowbar;list&lowbar;t] init);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *init*
| helper type for initializer lists of basic&lowbar;json values
|===


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