zjs
is a tool for searching JSON files. Currently, it will only search the first nesting and it only deals with strings.
You should have ruby
installed. It was only tested against 2.5
, but it should work with older versions.
- Clone this repository
- Change into the directory where you cloned the project
- Run
bundle
to install dependecies - (optional) Run
rake test
to run the test suite
Assuming you're in the repository directory, there are a couple example files, but any JSON file should work:
./zjs examples/users.json
This will bring up a UI within the shell to help you search the JSON.