add an object to an object
Synopsis
Declared in <nlohmann/json.hpp>
reference
operator+=(initializer_list_t init);
Return Value
reference to *this
Parameters
Name |
Description |
init |
initializer list to append; a two‐element list whose first element is a string is treated as a key‐value pair to insert into an object, otherwise it is appended as a JSON value to an array |
Created with MrDocs