Scroll to navigation

JSONPATH_NG(1) User Commands JSONPATH_NG(1)

NAME

jsonpath_ng - Search JSONPath into JSON files.

DESCRIPTION

usage: jsonpath_ng [-h] expression [file ...]

Search JSON files (or stdin) according to a JSONPath expression.

positional arguments:

A JSONPath expression.
Files to search (if none, searches stdin)

options:

show this help message and exit
Quick JSONPath reference (see more at https://github.com/kennknowles/python-jsonpath-rw)
atomics:
$
- root object
`this`
- current object
operators:
- same as xpath /
- union
- somewhere in between
fields:
- field with name
*
- any field
[_start_?:_end_?] - array slice [*] - any array index
July 2023 jsonpath_ng 1.5.3