nlohmann::basic_json::insert

inserts range of elements into object

Synopsis

Declared in <nlohmann/json.hpp>

void
insert(
    const_iterator first,
    const_iterator last);

Parameters

NameDescription
firstiterator to the first element of the range to insert
lastiterator past the last element of the range to insert