nlohmann::basic_json::object

explicitly create an object from an initializer list

Synopsis

Declared in <nlohmann/json.hpp>
[[__warn_unused_result__]]
static
basic_json
object(initializer_list_t init = {});


Return Value

a class to store JSON values

Parameters

Name Description
init helper type for initializer lists of basic_json values

Created with MrDocs