A simple JSON search script.
Project description
# jfind A very simple script to parse and search for values in a JSON file.
## Usage Just run: `bash jfind FILE_NAME SEARCH_TERM ` This will return the locations of all matches that contain the search term (case insensitive). Exact matches will be colored if your terminal supports it.
For example: `bash jfind hello.json hi ` Output: ` $ jfind hello.json hi ### SEARCH RESULTS ### parent-key-1 -> value: hi there parent-key-2 -> an-array -> 1 -> value: hi from a list element Found 2 matches... `
## Installation Just run: `bash pip install jfind ` Or: `bash python -m pip install jfind `
## Author Erick Durán. Copyright © 2021.
## License Released under the GPL-3 License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file jfind-0.0.2.tar.gz.
File metadata
- Download URL: jfind-0.0.2.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
988b16166bc369a1069c73a5eb7c9babd06e4453ef2172ac5ab156bd6ab187c2
|
|
| MD5 |
5d1b30c3a90bd02875fad8f4f2c3e88d
|
|
| BLAKE2b-256 |
90408ac528dea7b8b9869e931c1c38148f4c4881d96f12742d6e1981dae526ce
|