"XPath for JSON" - https://goessner.net/articles/JsonPath/index.html

Examples

Show the API server of your current kubernetes context

kubectl config view --minify -o=jsonpath='{.clusters[0].cluster.server}'

Links