Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 435 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 435 Bytes

JSON Tools by Language Recognition

Inspire by stedolan/jq, Created with antlr4.

Try it

go install github.com/xiaoler/jtlr-go/cmd/jtlr

Feature

basic usage:

jtlr '{"a": 1}'

interactive mode:

jtlr -a

read line from stdin:

bash examples/stdout.sh | jtlr -s

read line from file:

jtlr -f examples/json.txt

set indent

jtlr -t "\t" '{"a": 1}'