[#BloombergLP-baljsn-Formatter-nestingDepth]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/Formatter.adoc[Formatter]::nestingDepth
:relfileprefix: ../../../
:mrdocs:

Return the number of currently open nested objects or arrays&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
nestingDepth() const;
----

== Return Value

the number of currently open nested objects or arrays


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