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

## JsonValueBase::TryGetValue method




```cpp
template<typename T> bool System::Text::Json::Nodes::JsonValueBase::TryGetValue(T &value)
```

## See Also

* Class [JsonValueBase](../)
* Namespace [System::Text::Json::Nodes](../../)
* Library [Aspose.PDF for C++](../../../)
