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

toJson

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

Converts value to JSON string

Parameters

type - the convertible type

value - the convertible object

Return
the JSON string