mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 06:10:22 -07:00
json_query: Handle AnsibleUnicode, AnsibleUnsafeText (#1434)
jmespath library does not undestand custom string types such as AnsibleUnicode, and AnsibleUnsafeText. So user need to use ``to_json | from_json`` filter while using functions like ``starts_with`` and ``contains`` etc. This hack will allow user to get rid of this filter. Fixes: #320 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
47371041c7
commit
5319437bc2
2 changed files with 5 additions and 0 deletions
2
changelogs/fragments/320_unsafe_text.yml
Normal file
2
changelogs/fragments/320_unsafe_text.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- json_query - handle ``AnsibleUnicode`` and ``AnsibleUnsafeText`` (https://github.com/ansible-collections/community.general/issues/320).
|
Loading…
Add table
Add a link
Reference in a new issue