Simple json validator
1) docker build -t validator github.com/Yehuk/json_validator
2) docker run -d --rm -p 80:80 validator
3) curl -s --upload-file filename.json http://localhost
1) ./gradlew docker
2) docker run -d --rm -p 80:80 validator:0.1
3) curl -s --upload-file filename.json http://localhost
1) If everything ok you will get your .jsonfile
2) If not, you will get error mesage with this structure:
{ "errorCode" : 12345, "errorMessage" : ["verbose, plain language description of the problem with hints about how to fix it]", "errorPlace" : ["highlight the point where error has occurred"], "resource" : ["filename"], "request-id" : ["the request id generated by the API for easier tracking of errors"], }