The documentation on https://www.docs.developers.amplitude.com/data/sdks/java/ says:
dependencies {
implementation 'org.json:json:20201115'
implementation 'com.amplitude:java-sdk:1.10.0'
}
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
implementation 'org.json:json:20220924'