https://kotlinlang.org logo
h

hungpham1201

11/14/2017, 8:06 AM
i have JSON object like this "stats": { "listeners": "2164284", "playcount": "58950551" } and i use data class data class Stats(var listeners: String?, var playcount: String?) for parse JSON to object, and working fine. Why i dont need use @SerializedName for parse? Please explain.