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] [arguments...]

VERSION:
   dev (a39580b79e5739d9872728be106d5c051f8ed51f)

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:
   --help, -h                   show help (default: false)
   --log-level value, -l value  log level [$LOG_LEVEL]
   --version, -v                print the version (default: false)

validate

NAME:
   gjson validation - json file validation

USAGE:
   gjson validation [command options] [arguments...]

OPTIONS:
   --directory value, -d value  search base directory (default: ".") [$DIRECTORY]
   --excludes value, -e value  exclude files extensions (default: "invalid.json.golden") [$EXCLUDES]
   --includes value, -i value  include files extensions (default: "json,json.golden") [$INCLUDES]
   --log-level value, -l value  log level [$LOG_LEVEL]