---
name: "jsonpath_ng"
section: "1"
platform: "linux"
package: "python3-jsonpath-ng"
version: "1.7.0-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/jsonpath_ng"
---

# jsonpath\_ng(1)

Search JSONPath into JSON files.

## 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:

- expression

  A JSONPath expression.

- file

  Files to search (if none, searches stdin)

### options:

- **-h**, **--help**

  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:

- path1.path2

  \- same as xpath /

- path1\|path2

  \- union

- path1..path2

  \- somewhere in between

-

  fields:

- fieldname

  \- field with name

- \*

  \- any field

-

  \[\_start\_?:\_end\_?\] - array slice \[\*\]             - any array index
