[#BloombergLP-baljsn-SimpleFormatter-openArray-00]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/SimpleFormatter.adoc[SimpleFormatter]::openArray
:relfileprefix: ../../../
:mrdocs:

`openArray` overloads

== Synopses

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

Print the characters that start a JSON array onto the output stream&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/baljsn/SimpleFormatter/openArray-08.adoc[openArray](xref:BloombergLP/baljsn/SimpleFormatter/ArrayFormattingStyle.adoc[ArrayFormattingStyle] formattingStyle = e&lowbar;REGULAR&lowbar;ARRAY&lowbar;FORMAT);
----

[.small]#xref:BloombergLP/baljsn/SimpleFormatter/openArray-08.adoc[_» more&period;&period;&period;_]#

Print the start of a named JSON array onto the output stream&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/baljsn/SimpleFormatter/openArray-0e.adoc[openArray](
    std::string&lowbar;view const& name,
    xref:BloombergLP/baljsn/SimpleFormatter/ArrayFormattingStyle.adoc[ArrayFormattingStyle] formattingStyle = e&lowbar;REGULAR&lowbar;ARRAY&lowbar;FORMAT);
----

[.small]#xref:BloombergLP/baljsn/SimpleFormatter/openArray-0e.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *formattingStyle*
| whether to format the array as empty
| *name*
| member name for the array
|===


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