nlohmann::basic_json::operator+=

add an object to an array

Synopsis

Declared in <nlohmann/json.hpp>

reference
operator+=(basic_json&& val);

Return Value

reference to *this

Parameters

NameDescription
valvalue to move-append to the array