# How to convert output of task in dictionary

**URL:** <https://forum.ansible.com/t/how-to-convert-output-of-task-in-dictionary/34006>\
**Category:** Ansible Project\
**Created:** [October 12, 2020, 8:24am UTC](https://forum.ansible.com/t/how-to-convert-output-of-task-in-dictionary/34006 "2020-10-12T08:24:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kundan\_Singh](https://avatars.discourse-cdn.com/v4/letter/k/958977/32.png) [@Kundan\_Singh](https://forum.ansible.com/u/Kundan_Singh)\
**Post date:** [October 12, 2020, 8:24am UTC](https://forum.ansible.com/t/how-to-convert-output-of-task-in-dictionary/34006/1 "2020-10-12T08:24:09Z")

</div>

Hi All,

I am new to ansible working on a requirement where the the command has been executed and output has been stored in register.

Need your guidance to find how to change the out put in dictionary or json file format.
