# Using jsonGet to access individual elements of json arrays

**URL:** <https://forum.inductiveautomation.com/t/using-jsonget-to-access-individual-elements-of-json-arrays/31375>\
**Category:** Ignition\
**Created:** [January 17, 2020, 5:38pm UTC](https://forum.inductiveautomation.com/t/using-jsonget-to-access-individual-elements-of-json-arrays/31375 "2020-01-17T17:38:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![max.schmid](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@max.schmid](https://forum.inductiveautomation.com/u/max.schmid)\
**Post date:** [January 17, 2020, 5:38pm UTC](https://forum.inductiveautomation.com/t/using-jsonget-to-access-individual-elements-of-json-arrays/31375/1 "2020-01-17T17:38:53Z")

</div>

Using the Ignition 8 jsonGet function, is it possible to directly specify a json array location in the path parameter?  
Using the VisualStudio 2019 RESTful API example program output as an example:

[{“date”:“2020-01-18T09:34:52.4573681-08:00”,“temperatureC”:20,“temperatureF”:67,“summary”:“Warm”}]

I am not sure how to access the only element (0) of this json array using jsonGet directly.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [January 17, 2020, 11:36pm UTC](https://forum.inductiveautomation.com/t/using-jsonget-to-access-individual-elements-of-json-arrays/31375/2 "2020-01-17T23:36:11Z")

</div>

> [@max.schmid](#):
>
> [{“date”:“2020-01-18T09:34:52.4573681-08:00”,“temperatureC”:20,“temperatureF”:67,“summary”:“Warm”}]

Try "[0]" as the path.
