gson implementation code example
Example 1: 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>
Example 2: gson android
dependencies {
implementation 'com.google.code.gson:gson:2.8.6'
}