jsoncmp JSON comparison tool from the command-line. Use example from Gradle (using the latest sources) In this example, the files are assumed to be in ./build/actual.json and ./build/expected.json. ./gradlew run -Pargs="build/actual.json build/expected.json"