add an object to an array

Synopsis

Declared in <nlohmann/json.hpp>

reference
operator+=(basic_json const& val);

Return Value

reference to *this

Parameters

Name

Description

val

value to append (copied) to the array

Created with MrDocs