[#BloombergLP-bdljsn-Json-pushBack-04ff] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/Json.adoc[Json]::pushBack :relfileprefix: ../../../ :mrdocs: Append to the end of this `Json` object's array an element having value of the specified `string` by moving (in constant time) the contents of `string` to the new element and return a non‐`const` reference to this object. If `isNull()`, then the type is changed to array. `string` is left in a valid but unspecified state. This function does not participate in overload resolution unless the specified `t_STRING_TYPE` is `bsl::string`. The behavior is undefined unless `string` is valid UTF‐8 (see `bdlde::Utf8Util::isValid`). The behavior is undefined unless `isArray()` or `isNull()`. == Synopsis Declared in `<bdljsn_json.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_STRING_TYPE> xref:BloombergLP/bdljsn/Json.adoc[Json]& pushBack(xref:BloombergLP/bslmf/MovableRef_Deduced.adoc[BloombergLP::bslmf::MovableRef_Deduced<t_STRING_TYPE>] string) requires bsl::is_same<t_STRING_TYPE, bsl::string>::value; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#