Is there a tool like
gofmt to check the format of JSON files in a go repository? This would be used as a makefile target and git precommit hook.
I know I could code something using
jq. But I bet someone has done this. Also, I prefer if it's in the go ecosystem, to make installation easier -- so I don't have to figure out how to install jq on all the different development systems that our developers use.