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

## JsonDocumentOptions class




```cpp
class JsonDocumentOptions : public System::Object,
                            public System::Details::BoxableObjectBase
```

## Methods

| Method | Description |
| --- | --- |
| [get_AllowDuplicateProperties](./get_allowduplicateproperties/)() |  |
| [get_CommentHandling](./get_commenthandling/)() |  |
| [get_MaxDepth](./get_maxdepth/)() |  |
| [JsonDocumentOptions](./jsondocumentoptions/)() |  |
| [set_AllowDuplicateProperties](./set_allowduplicateproperties/)(bool) |  |
| [set_CommentHandling](./set_commenthandling/)(JsonCommentHandling) |  |
| [set_MaxDepth](./set_maxdepth/)(int32_t) |  |
## See Also

* Class [Object](../../system/object/)
* Namespace [System::Text::Json](../)
* Library [Aspose.PDF for C++](../../)
