nlohmann::basic_json::basic_json

create an empty value with a given type

Synopsis

Declared in <nlohmann/json.hpp>

basic_json(value_t const v);

Parameters

NameDescription
vThe object to construct from