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

## Utf8JsonReader::ValueTextEquals(ReadOnlySpan\<char16_t\>) method




```cpp
bool System::Text::Json::Utf8JsonReader::ValueTextEquals(ReadOnlySpan<char16_t> text)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [Utf8JsonReader](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonReader::ValueTextEquals(ReadOnlySpan\<uint8_t\>) method




```cpp
bool System::Text::Json::Utf8JsonReader::ValueTextEquals(ReadOnlySpan<uint8_t> utf8Text)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [Utf8JsonReader](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonReader::ValueTextEquals(String) method




```cpp
bool System::Text::Json::Utf8JsonReader::ValueTextEquals(String text)
```

## See Also

* Class [String](../../../system/string/)
* Class [Utf8JsonReader](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
