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

## JsonReaderHelper::TryGetValue(ReadOnlySpan\<uint8_t\>, bool, DateTime\&) method




```cpp
static bool System::Text::Json::JsonReaderHelper::TryGetValue(ReadOnlySpan<uint8_t> segment, bool isEscaped, DateTime &value)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [DateTime](../../../system/datetime/)
* Class [JsonReaderHelper](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## JsonReaderHelper::TryGetValue(ReadOnlySpan\<uint8_t\>, bool, DateTimeOffset\&) method




```cpp
static bool System::Text::Json::JsonReaderHelper::TryGetValue(ReadOnlySpan<uint8_t> segment, bool isEscaped, DateTimeOffset &value)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [DateTimeOffset](../../../system/datetimeoffset/)
* Class [JsonReaderHelper](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## JsonReaderHelper::TryGetValue(ReadOnlySpan\<uint8_t\>, bool, Guid\&) method




```cpp
static bool System::Text::Json::JsonReaderHelper::TryGetValue(ReadOnlySpan<uint8_t> segment, bool isEscaped, Guid &value)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [Guid](../../../system/guid/)
* Class [JsonReaderHelper](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
