This repo contains sample jsonpath code related to Kubernetes.
JSONPath | Description |
---|---|
$ |
The root object/element |
@ |
The current object/element |
. or [] |
Child member operator |
.. |
Recursive descendant operator; JSONPath borrows this syntax from E4X |
* |
Wildcard matching all objects/elements regardless their names |
[] |
Subscript operator |
[,] |
Union operator for alternate names or array indices as a set |
[start:end:step] |
Array slice operator borrowed from ES4 / Python |
?() |
Applies a filter (script) expression via static evaluation |
() |
Script expression via static evaluation |
k8s-jsonpath is maintained by:
Himadri Ganguly 🐦 |
Please see our CONTRIBUTING.md.
k8s-jsonpath is GNU GPL3 licensed. See the LICENSE file for details.