---
title: "System::Text::Json::Nodes::JsonArray::get_Count method"
url: "https://reference.aspose.com/pdf/cpp/system.text.json.nodes/jsonarray/get_count/"
product: "Aspose.PDF for C++ API Reference"
description: "System::Text::Json::Nodes::JsonArray::get_Count method. Gets number of elements in collection in C++."
---

## JsonArray::get_Count method


Gets number of elements in collection.

```cpp
int32_t System::Text::Json::Nodes::JsonArray::get_Count() const override
```


### ReturnValue

Number of elements.

## See Also

* Class [JsonArray](../)
* Namespace [System::Text::Json::Nodes](../../)
* Library [Aspose.PDF for C++](../../../)
