fromJson

fun fromJson(jsonString: String): OathCodeInfo(source)

Create an OathCodeInfo from a JSON string.

Return

An OathCodeInfo.

Parameters

jsonString

The JSON string.

Throws

kotlinx.serialization.SerializationException

if the JSON is invalid.