Skip to content

Repository files navigation

jsonfilter

filters a big file with JSON lines by a key/value and writes to another file

usage:

Usage: jsonfilter [OPTIONS] --input <INPUT> --output <OUTPUT> --key <KEY> --filter <FILTER>
Options:
-a, --archive <ARCHIVE> Optionally provide a zst archive to unpack. If archive is provided, it is extracted to the input path [default: ]
-i, --input <INPUT> Input file - must be newline-separated json
-o, --output <OUTPUT> Output file - newline-separated json will be written to this path
-k, --key <KEY> JSON key to filter on
-f, --filter <FILTER> JSON value to filter on
-q, --quiet If set, do not log progress
-h, --help Print help
-V, --version Print version

About

big json files are hard to work with

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages