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

## JsonHelpers::TryAdvanceWithOptionalReadAhead method




```cpp
static bool System::Text::Json::JsonHelpers::TryAdvanceWithOptionalReadAhead(Utf8JsonReader &reader, bool requiresReadAhead)
```

## See Also

* Class [Utf8JsonReader](../../utf8jsonreader/)
* Class [JsonHelpers](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
