Append a copy of the specified string to this array.
Synopsis
Declared in <bdljsn_json.h>
JsonArray&
pushBack(char const* string);
Description
Append to the end of this JsonArray a copy of the specified string and return a non‐`const` reference to this array. If an exception is thrown, *this is unaffected. Throw bsl::length_error if size() == maxSize().
Return Value
non‐`const` reference to this array
Parameters
Name |
Description |
string |
string value to append |
Created with MrDocs