File: jsonpath_ng.1

package info (click to toggle)
jsonpath-ng 1.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 372 kB
  • sloc: python: 2,172; makefile: 4
file content (50 lines) | stat: -rw-r--r-- 861 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
.TH JSONPATH_NG "1" "July 2023" "jsonpath_ng 1.5.3" "User Commands"
.SH NAME
jsonpath_ng \- Search JSONPath into JSON files.
.SH DESCRIPTION
usage: jsonpath_ng [\-h] expression [file ...]
.PP
Search JSON files (or stdin) according to a JSONPath expression.
.SS "positional arguments:"
.TP
expression
A JSONPath expression.
.TP
file
Files to search (if none, searches stdin)
.SS "options:"
.TP
\fB\-h\fR, \fB\-\-help\fR
show this help message and exit
.IP
Quick JSONPath reference (see more at https://github.com/kennknowles/python\-jsonpath\-rw)
.IP
atomics:
.TP
$
\- root object
.TP
`this`
\- current object
.IP
operators:
.TP
path1.path2
\- same as xpath /
.TP
path1|path2
\- union
.TP
path1..path2
\- somewhere in between
.IP
fields:
.TP
fieldname
\- field with name
.TP
*
\- any field
.IP
[_start_?:_end_?] \- array slice
[*]             \- any array index