[#BloombergLP-bdljsn-ReadOptions-setMaxNestedDepth] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/ReadOptions.adoc[ReadOptions]::setMaxNestedDepth :relfileprefix: ../../../ :mrdocs: Set the `maxNestedDepth` attribute of this object to the specified `value` and return a non‐`const` reference to this object. The behavior is undefined unless `0 < value`. == Synopsis Declared in `<bdljsn_readoptions.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/ReadOptions.adoc[ReadOptions]& setMaxNestedDepth(int value); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#