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

## JsonValueOfElement class




```cpp
class JsonValueOfElement : public System::Text::Json::Nodes::JsonValue<JsonElement>
```

## Methods

| Method | Description |
| --- | --- |
| [DeepCloneCore](./deepclonecore/)() override |  |
| [DeepEqualsCore](./deepequalscore/)(System::SharedPtr\<JsonNode\>) override |  |
| [get_UnderlyingElement](./get_underlyingelement/)() override |  |
| [GetValue](./getvalue/)() |  |
| [JsonValueOfElement](./jsonvalueofelement/)(JsonElement, Nullable\<JsonNodeOptions\>) |  |
| [SetTemplateWeakPtr](./settemplateweakptr/)(uint32_t) override | Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. |
| [TryGetValue](./trygetvalue/)(TypeToConvert\&) |  |
| [WriteTo](./writeto/)(System::SharedPtr\<Utf8JsonWriter\>, System::SharedPtr\<JsonSerializerOptions\>) override |  |
## Fields

| Field | Description |
| --- | --- |
| [Value](../jsonvalue/value/) |  |
## See Also

* Class [JsonValue](../jsonvalue/)
* Namespace [System::Text::Json::Nodes](../)
* Library [Aspose.PDF for C++](../../)
