Answers for "add gson to android"

4

gson dependency android

dependencies {
  implementation 'com.google.code.gson:gson:2.8.6'
}

<dependency>
  <groupId>com.google.code.gson</groupId>
  <artifactId>gson</artifactId>
  <version>2.8.6</version>
</dependency>
Posted by: Guest on July-20-2020
1

android studio include gson in app

// Module level build.gradle
dependencies {
     implementation 'com.google.code.gson:gson:2.8.5' // Old 2.8.2
}
Posted by: Guest on May-25-2020

Browse Popular Code Answers by Language