Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.
/ go-json-tools Public archive

There are many tools for working with JSON. These ones are ours.

License

Notifications You must be signed in to change notification settings

aaronland/go-json-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-json-tools

There are many tools for working with JSON. These ones are ours.

Deprecated

This package has been deprecated. These tools have been moved in to aaronland/go-tools.

Documentation

Documentation is incomplete.

Tools

jf

Flatten JSON.

jp

Make JSON pretty.

./bin/jp -h
Usage of ./bin/jp:
  -rewrite
    	Rewrite the JSON file in place.

For example:

./bin/jp -rewrite example.json

Or to read from STDIN:

cat example.json | ./bin/jp -

jv

Ensure JSON is valid (where "valid" means it can be parsed)

$> ./bin/jv ~/sfomuseum/go-sfomuseum-media/config/*.json

About

There are many tools for working with JSON. These ones are ours.

Resources

License

Stars

Watchers

Forks

Packages

No packages published