add an object to an object

Synopsis

Declared in <nlohmann/json.hpp>

void
push_back(initializer_list_t init);

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