salomonbrys
06/09/2016, 8:25 AMdata class Data<T>(val type: String, val id: String, val value: T)
and then register a typeAdapter for data with a mapping type <=> class. For example, when the type is "user", it would read the "attributes" object into a User
object