# Reading a json file using Ansible

**URL:** <https://forum.ansible.com/t/reading-a-json-file-using-ansible/21369>\
**Category:** Ansible Project\
**Created:** [May 6, 2016, 8:44am UTC](https://forum.ansible.com/t/reading-a-json-file-using-ansible/21369 "2016-05-06T08:44:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shwetha\_Hadimani](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@Shwetha\_Hadimani](https://forum.ansible.com/u/Shwetha_Hadimani)\
**Post date:** [May 6, 2016, 8:44am UTC](https://forum.ansible.com/t/reading-a-json-file-using-ansible/21369/1 "2016-05-06T08:44:19Z")

</div>

Hi,

I have a json file called “develop.json” like below,

{  
“releasedata”: {  
“release\_name”: “abcd”,  
“release\_number”: “22”  
}  
}

I want to read this file in ansible and get the value for “release\_name” key. I have tried the below code
