fun <reified T> JsonManager.toJson(value: T): String
This extension method of JsonManager which reduces boilerplate with converting value to the JSON string.
value - the convertible object
value
Return the JSON string