---
title: "System::Text::Json::JsonReaderOptions::set_MaxDepth method"
url: "https://reference.aspose.com/pdf/cpp/system.text.json/jsonreaderoptions/set_maxdepth/"
product: "Aspose.PDF for C++ API Reference"
description: "How to use set_MaxDepth method of System::Text::Json::JsonReaderOptions class in C++."
---

## JsonReaderOptions::set_MaxDepth method




```cpp
void System::Text::Json::JsonReaderOptions::set_MaxDepth(int32_t value)
```

## See Also

* Class [JsonReaderOptions](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
