OS Manuals

/opt/chainguard/openstack-glance-2025.1/bin/jsonpath.py

OpenStack Image Service (Glance) — 2025.1 Epoxy

From openstack-glance-2025.1 30.2.0_git20261007-r6 (enterprise-packages), captured 2026-11-08 by running jsonpath.py --help (exit 0). permalink

Also provided by 1 other package version
usage: jsonpath.py [-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
Options (1)
OptionDescriptionSource
-h, --helpshow this help message and exithelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.