JSONPath
"XPath for JSON" - https://goessner.net/articles/JsonPath/index.html
Examples
There are other examples in kubernetes
Show the API server of your current kubernetes context
kubectl config view --minify -o=jsonpath='{.clusters[0].cluster.server}'
Links
- http://jsonpath.com/ - online expression evaluator
- https://kubernetes.io/docs/reference/kubectl/jsonpath/
- https://extendsclass.com/jsonpath-tester.html