////////////////////////////////////

Synopsis

Declared in <nlohmann/json.hpp>

template<typename JsonRef>
requires detail::conjunction<detail::is_json_ref<JsonRef>,
                                 std::is_same<typename JsonRef::value_type, basic_json>>::value
basic_json(JsonRef const& ref);

Parameters

Name

Description

ref

The object to copy construct from

Created with MrDocs