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

## JsonWriterHelper::GetMaxEscapedLength method




```cpp
static int32_t System::Text::Json::JsonWriterHelper::GetMaxEscapedLength(int32_t textLength, int32_t firstIndexToEscape)
```

## See Also

* Class [JsonWriterHelper](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
