ansible / ansible.builtin / v2.16.0 / filter / from_json Convert JSON string into variable structure | "added in version" historical of ansible.builtin" Authors: unknownansible.builtin.from_json (v2.16.0) — filter
pip
Install with pip install ansible-core==2.16.0
Converts a JSON string representation into an equivalent structured Ansible variable.
Ansible automatically converts JSON strings into variable structures in most contexts, use this plugin in contexts where automatic conversion does not happen.
_input: description: A JSON string. required: true type: string
_value: description: The variable resulting from deserialization of the JSON document. type: raw