open class GsonUtils
Utility methods to work with the GSON library.
GsonUtils()
Utility methods to work with the GSON library. |
open static fun <T : Any!> deserializeForName(json: String!, className: String!): T?
Deserialize from string using reflection to get a class for a specific name. |
|
open static fun serializeForName(object: Serializable!, clazz: Class<*>!): String
Serialize to a string using reflection to get the class for a specific name. |