[#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. == Synopsis Declared in `<baljsn_formatter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int nestingDepth() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#