[#nlohmann-basic_json-00-array] = xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-00.adoc[basic_json]::array :relfileprefix: ../../ :mrdocs: explicitly create an array from an initializer list == Synopsis Declared in `<nlohmann/json.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[__warn_unused_result__]] static xref:nlohmann/basic_json-00.adoc[basic_json] array(xref:nlohmann/basic_json-00/initializer_list_t.adoc[initializer_list_t] init = {}); ---- == Return Value a class to store JSON values == Parameters [cols=2] |=== | Name | Description | *init* | helper type for initializer lists of basic_json values |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#