[#BloombergLP-baljsn-Encoder_Formatter-setIsArrayElement]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/Encoder_Formatter.adoc[Encoder&lowbar;Formatter]::setIsArrayElement
:relfileprefix: ../../../
:mrdocs:

Set the flag denoting if the current element refers to an array element to the specified `isArrayElement`&period;

== Synopsis

Declared in `&lt;baljsn&lowbar;encoder&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setIsArrayElement(bool isArrayElement);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *isArrayElement*
| `true` if the current element is an array element
|===


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