Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1.37 KB

README.md

File metadata and controls

53 lines (35 loc) · 1.37 KB

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!