nlohmann::basic_json::basic_json

create a container (array or object) from an initializer list

Synopsis

Declared in <nlohmann/json.hpp>
basic_json(
    initializer_list_t init,
    bool type_deduction = true,
    value_t manual_type = value_t::array);


Parameters

Name Description
init The object to construct from

Created with MrDocs