logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

gjson - filter and extract data from JSON-like files

Author

       Riccardo Coccioli

Name

       gjson - 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.

          usage: gjson [-h] [-v] [-l] [file] query

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

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.

See Also