Documentation

Overview

Basic command line interface for debug and testing purposes.

Examples:

Only print the AST for the expression:

jp.go -ast "foo.bar.baz"

Evaluate the JMESPath expression against JSON data from a file:

jp.go -input /tmp/data.json "foo.bar.baz"

This program can also be used as an executable to the jp-compliance runner (github.com/jmespath/jmespath.test).

Source Files