Skip to content
/ jsonfind Public

A fast and lightweight utility to easily find paths to values in JSON files.

License

Notifications You must be signed in to change notification settings

WTFox/jsonfind

Repository files navigation

JSONFind

Build and Test Go Report Card GitHub stars GitHub license

A fast and lightweight utility to easily find paths to values in JSON files.


Installation

brew install wtfox/tap/jsonfind

Usage

usage

NAME:
   jf - JSONFind

USAGE:
   jf <valueToFind> <jsonFile>

VERSION:
   1.1.0

DESCRIPTION:
   Search a JSON file for a specified value and output full paths of each occurrence found

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --parent-paths, -p  Renders the parent paths only (default: false)
   --first-only, -f    Returns the first occurrence only (default: false)
   --use-regex, -r     Use pattern matching via regex expression (default: false)
   --help, -h          show help (default: false)
   --version, -v       print the version (default: false)


Contributing

Bugs likely exist so issues and pull requests are welcomed!

About

A fast and lightweight utility to easily find paths to values in JSON files.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published