convertFromJson

abstract fun convertFromJson(json: String): T

Converts a JSON string to a value of type T.

Return

A value of type T representing the converted JSON.

Parameters

json

The JSON string to be converted.