---
title: "System::Text::Json::Nodes::JsonObject::GetEnumerator method"
url: "https://reference.aspose.com/pdf/cpp/system.text.json.nodes/jsonobject/getenumerator/"
product: "Aspose.PDF for C++ API Reference"
description: "System::Text::Json::Nodes::JsonObject::GetEnumerator method. Gets enumerator in C++."
---

## JsonObject::GetEnumerator method


Gets enumerator.

```cpp
System::SharedPtr<Collections::Generic::IEnumerator<Collections::Generic::KeyValuePair<String, System::SharedPtr<JsonNode>>>> System::Text::Json::Nodes::JsonObject::GetEnumerator() override
```


### ReturnValue

Pointer to newly created enumerator object which can be used to iterate through interfaced object.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IEnumerator](../../../system.collections.generic/ienumerator/)
* Class [KeyValuePair](../../../system.collections.generic/keyvaluepair/)
* Class [String](../../../system/string/)
* Class [JsonObject](../)
* Namespace [System::Text::Json::Nodes](../../)
* Library [Aspose.PDF for C++](../../../)
