1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

add minimum version for the json_query filter

The documentation did not at all specify that the `json_query` filter
was not available in earlier versions.
This commit is contained in:
Felix Frank 2016-12-21 09:32:25 +01:00 committed by Brian Coca
parent 3691c784d2
commit a999452b68

View file

@ -219,6 +219,7 @@ Note that jinja2 already provides some like abs() and round().
JSON Query Filter
-----------------
.. versionadded:: 2.2
Sometimes you end up with a complex data structure in JSON format and you need to extract only a small set of data within it. The **json_query** filter lets you query a complex JSON structure and iterate over it using a with_items structure.