# How to fetch dict data from a list item

**URL:** <https://forum.ansible.com/t/how-to-fetch-dict-data-from-a-list-item/34811>\
**Category:** Ansible Project\
**Created:** [March 19, 2021, 1:45pm UTC](https://forum.ansible.com/t/how-to-fetch-dict-data-from-a-list-item/34811 "2021-03-19T13:45:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chtsalid](https://avatars.discourse-cdn.com/v4/letter/c/ed655f/32.png) [@chtsalid](https://forum.ansible.com/u/chtsalid)\
**Post date:** [March 19, 2021, 1:45pm UTC](https://forum.ansible.com/t/how-to-fetch-dict-data-from-a-list-item/34811/1 "2021-03-19T13:45:30Z")

</div>

Hi all,

I am having a problem to fetch dict from a list in this example list item lldpNeighbors. How can we achieve this?  
Here is the output I am getting.

ok: [vEOS1] =\> {  
“lldp\_output.stdout”: [  
{  
“lldpNeighbors”: [  
{  
“neighborDevice”: “vEOS2.fritz.box”,  
“neighborPort”: “Ethernet1”,  
“port”: “Ethernet1”,  
“ttl”: 120  
}  
],  
“tablesAgeOuts”: 0,  
“tablesDeletes”: 0,  
“tablesDrops”: 0,  
“tablesInserts”: 1,  
“tablesLastChangeTime”: 1616079454.6630714  
}  
]  
}

Thanks a lot in advance!
