Insert at the specified position in this JsonArray a copy of the specified json, and return an iterator referring to the newly inserted element. If an exception is thrown, *this is unaffected. Throw bsl::length_error if size() == maxSize(). The behavior is undefined unless position is an iterator in the range [begin() .. end()] (both endpoints included).
Synopsis
Declared in <bdljsn_json.h>
JsonArray::Iterator
insert(
ConstIterator position,
Json const& json);
Created with MrDocs