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

toJson

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

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

Parameters

value - the convertible object

Return
the JSON string