# ansible 1.8.2: json is not parsed from uri result..

**URL:** <https://forum.ansible.com/t/ansible-1-8-2-json-is-not-parsed-from-uri-result/17201>\
**Category:** Ansible Project\
**Created:** [January 6, 2015, 11:09pm UTC](https://forum.ansible.com/t/ansible-1-8-2-json-is-not-parsed-from-uri-result/17201 "2015-01-06T23:09:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maxym\_Pendyshchuk](https://avatars.discourse-cdn.com/v4/letter/m/9e8a1a/32.png) [@Maxym\_Pendyshchuk](https://forum.ansible.com/u/Maxym_Pendyshchuk)\
**Post date:** [January 6, 2015, 11:09pm UTC](https://forum.ansible.com/t/ansible-1-8-2-json-is-not-parsed-from-uri-result/17201/1 "2015-01-06T23:09:15Z")

</div>

Hi!  
I’m using the last version of Ansible, having the following task:

- uri: url=MY\_URL  
method=GET user={{ user }} password={{ password }} force\_basic\_auth=yes return\_content=yes  
register: configuration

I don’t see json property in configuration… Most probably the reason is that the return type is not “ansible/json” but  
…  
“content\_type”: “application/json; charset=UTF-8”,  
…

is here any workaround, or I need to look for a 3rd party module to get json content parsed?

thanks in advance,  
Max

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [January 7, 2015, 1:50pm UTC](https://forum.ansible.com/t/ansible-1-8-2-json-is-not-parsed-from-uri-result/17201/2 "2015-01-07T13:50:10Z")

</div>

that should just work, the module does a fuzzy match on  
'application/json', the charset part would not matter.

can you show the raw output of the call?
