# How to retrive data from nested data

**URL:** <https://forum.inductiveautomation.com/t/how-to-retrive-data-from-nested-data/83505>\
**Category:** Ignition\
**Created:** [December 25, 2023, 7:35pm UTC](https://forum.inductiveautomation.com/t/how-to-retrive-data-from-nested-data/83505 "2023-12-25T19:35:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mithun\_Reddy\_Basvan1](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@Mithun\_Reddy\_Basvan1](https://forum.inductiveautomation.com/u/Mithun_Reddy_Basvan1)\
**Post date:** [December 25, 2023, 7:35pm UTC](https://forum.inductiveautomation.com/t/how-to-retrive-data-from-nested-data/83505/1 "2023-12-25T19:35:24Z")

</div>

I have the below Data structure:

```auto
response:{
                  'a':'1',
                  'b':[
                        {
                          'c':'2',
                           'd':[
                                  {
                                    'e':'3',
                                     'f':[
                                          {
                                            'g':'4',
                                            'h':'5
                                           }
                                          ]
                                   }
                                  ]
                           }
                          ]
                }

```

how can i use get() to get the value of 'h'

---

<div class="post-metadata">

**Author:** ![Mithun\_Reddy\_Basvan1](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@Mithun\_Reddy\_Basvan1](https://forum.inductiveautomation.com/u/Mithun_Reddy_Basvan1)\
**Post date:** [December 25, 2023, 7:45pm UTC](https://forum.inductiveautomation.com/t/how-to-retrive-data-from-nested-data/83505/2 "2023-12-25T19:45:08Z")

</div>

i was able to figure out with below structure:

print(response.get('b').get('d')[0].get('f')[0].get('h'))
