aries / net.globalid.aries.utils.json / JsonManager / fromJson

fromJson

abstract fun <T> fromJson(type: Class<T>, value: String): T?

Converts value JSON string to instance of type

Parameters

type - the convertible type

value - the convertible object

Return
the type instance or null