To use JSON you must add it as a dependency in your Gradle build: Step 1. Add the JitPack repository to your build file Add it in your root build.gradle at the end of repositories: You can create JSON ...
After upgrading from 20200518 to 20210307 some of our tests that are using JSONObject::similar started to fail. This case reproduces the problem: JSONObject a = new JSONObject(); a.put("a", 1.1); ...