gjson1
Filter and extract data from json-like files a simple way to filter and extract data from json-like data structures. python porting of the go gjson package.
Positional arguments
file-
Input JSON file to query. Reads from stdin if the argument is missing or set to "-".
query-
A GJSON query to apply to the input data.
Named arguments
- -v, --verbose
-
Verbosity level. By default on error no output will be printed. Use -v to get the error message to stderr and -vv to get the full traceback.
- -l, --lines
-
Treat the input as JSON Lines, parse each line and apply the query to each line.
See also the full documentation available at https://volans-.github.io/gjson-py/index.html
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.