interface JsonSerializer
Simple interface to hide the JSON library behind
fromJson |
Deserialize object from json abstract fun <T : Any!> fromJson(json: String!, clazz: Class<T>!): T |
toJson |
Serialize object into json abstract fun toJson(o: Any!): String! |
GsonSerializer |
open class GsonSerializer : JsonSerializer |
JacksonSerializer |
open class JacksonSerializer : JsonSerializer |