I was trying to get some data out of etcd (kubernetes) and i found the value was returned as a string:

image

you can see the quotes in the beginning, so after playing with sed for a bit , getting me nowhere , i discovered the -r flag of jq so…

image

As you can see now you have a json object back that we can pass back to jq:

image

just that.

Thank you.