-
Notifications
You must be signed in to change notification settings - Fork 1
What is JMESPath
Lowell Alleman edited this page Jul 17, 2020
·
2 revisions
JMESPath is used prominently in a few other projects/tools that you have already used:
- Both AWS and the Azure's az CLI tools use JMESPath for their
--query
filter to reduce external JSON processing - Ansible json_query() filters allow for complex structures to be converted into simple loops
- jp CLI tool is the command line interface for JMESPath
Be careful not to confuse JMESPath with the following. While they all share the same goal, and some overlapping syntax, they are all different from JMESPath:
- The
jq
command. (jq
vsjp
Confused yet?) - jsonpath
- Splunk's
spath
command.
More information can be found here http://jmespath.org/
Live Tutorials: http://jmespath.org/tutorial.html
- Introduction
- So what is JMESPath?
- What's wrong with spath?
- Command Reference
- Tutorial (Search examples)
- Change Log