JsonMapper

@Singleton
class JsonMapper(mapper: ObjectMapper)

Constructors

Link copied to clipboard
constructor(mapper: ObjectMapper)

Functions

Link copied to clipboard
fun <E> fromJson(json: String, clazz: Class<E>): E
Link copied to clipboard
fun toJson(obj: Any): String