I am unable to retrieve a value from a json object when the string has a dash character:
{ \"profile-id\":1234, \"user_id\":6789 }
If I try
For ansible, and using hyphen, this worked for me:
- name: free-ud-ssd-space-in-percent debug: var: clusterInfo.json.content["free-ud-ssd-space-in-percent"]