The documentation on https://www.docs.developers.amplitude.com/data/sdks/java/ says:
dependencies {<br /> implementation 'org.json:json:20201115'<br /> implementation 'com.amplitude:java-sdk:1.10.0'<br />}
It seems that the json library version is a little bit old:
https://mvnrepository.com/artifact/org.json/json
Do you recommend us use the latest version of json lib?
// https://mvnrepository.com/artifact/org.json/json<br />implementation 'org.json:json:20220924'<br />