#json #json-template #template

app json-template-filter

user-friendly json filter with template json

1 stable release

new 1.0.0 May 20, 2025

#118 in Template engine

MIT license

7KB
57 lines

json-template-filter

rust cli json filter by template json

install

 cargo install   json-template-filter@v1.0.0

usage

 json-template-filter -h  
 Json Filter Cli Tools

Usage:  json-template-filter.exe [OPTIONS]

Options:
  -v, --verbose...           Increase logging verbosity
  -q, --quiet...             Decrease logging verbosity
  -i, --input <INPUT>        Input JSON file path [default: ]
  -t, --template <TEMPLATE>  Template JSON file path [default: ]
  -o, --output <OUTPUT>      Output JSON file path [default: output.json]
  -h, --help                 Print help
  -V, --version              Print version

example

 json-template-filter -q -i request.json  -t template.json -o output.json

Dependencies

~1.7–2.8MB
~52K SLoC