Solved

Can I use the latest version of json library?

  • 18 October 2022
  • 1 reply
  • 195 views

Badge

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'

 

icon

Best answer by eddie.gaona 19 October 2022, 01:25

View original

1 reply

Userlevel 5
Badge +9

Hello @kenny hope you are well!

 

Thank you for reaching out! I checked internally and it’s okay to use a more updated version of the JSON library. The reason version 20201115 is explicitly pointed out in the documentation is because the SDK was built around that time. The engineering team will work to update the documentation.

 

Hope this helps!

Reply