Skip to content

What is JMESPath

Lowell Alleman edited this page Nov 17, 2018 · 2 revisions

What is this JMESPath?

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

What JMESPath is NOT

Be careful not to confuse JMESPath with the following. While they all share some commonalities:

  • The jq command
  • jsonpath
  • Splunk's spath command.

Learn more

More information can be found here http://jmespath.org/

Live Tutorials: http://jmespath.org/tutorial.html