[#BloombergLP-bdljsn-Json-pushBack-0f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/Json.adoc[Json]::pushBack
:relfileprefix: ../../../
:mrdocs:

Move&hyphen;append `number` to the held array&period;

== Synopsis

Declared in `&lt;bdljsn&lowbar;json&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdljsn/Json.adoc[Json]&
pushBack(xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;JsonNumber&gt;] number);
----

== Description

Append to the end of this `Json` object&apos;s array the specified move&hyphen;insertable `number` and return a non&hyphen;`const` reference to this object&period; `number` is left in a valid but unspecified state&period; If `isNull()`, then the type is changed to array&period; If an exception is thrown, `&ast;this` is unaffected&period; Throw `bsl&colon;&colon;length&lowbar;error` if `size() &equals;&equals; maxSize()`&period; The behavior is undefined unless `isArray()` or `isNull()`&period;

== Return Value

a reference providing modifiable access to this object

== Parameters

[cols="1,4"]
|===
| Name| Description
| *number*
| value to append
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
