Skip to content

xleliu/jtlr-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Dec 29, 2021
db55557 · Dec 29, 2021

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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}'

Releases

No releases published

Packages

No packages published