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

fromJson

fun <reified T> JsonManager.fromJson(value: String): T?

This extension method of JsonManager which reduces boilerplate with converting JSON string to the instance of T.

Parameters

value - the convertible object

Return
the instance of T