Skip to content

takumin/gjson

Repository files navigation

gjson

Golang JSON Tool

CI Go Report Card

Install

GitHub Releases

Download a prebuilt binary from GitHub Releases and install it in $PATH.

aqua

aqua is a CLI Version Manager.

aqua g -i takumin/gjson

usage

NAME:
   gjson - Golang JSON Tool

USAGE:
   gjson [global options] command [command options]

VERSION:
   v0.0.3 (2e32198281acb1308e1b50abd7675ce9e116329c)

COMMANDS:
   completion                      command completion
   validation, validate, valid, v  json file validation
   help, h                         Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --log-level value, -l value  log level [$LOG_LEVEL]
   --help, -h                   show help
   --version, -v                print the version

validate

NAME:
   gjson validation - json file validation

USAGE:
   gjson validation command [command options] [file or directory...]

OPTIONS:
   --log-level value, -l value                              log level [$LOG_LEVEL]
   --include value, -i value [ --include value, -i value ]  include file extension (default: "**/*.json", "**/*.json.golden") [$INCLUDE]
   --exclude value, -e value [ --exclude value, -e value ]  exclude file extension (default: "**/*.invalid.json", "**/*.invalid.json.golden", "**/node_modules/**") [$EXCLUDE]
   --help, -h                                               show help