explicitly create an object from an initializer list
Synopsis
Declared in <nlohmann/json.hpp>
[[nodiscard]]
static
basic_json
object(initializer_list_t init = {});
Return Value
a JSON object value with the elements from init
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
init |
initializer list with JSON values to use for the object |
Created with MrDocs