fromJson

fun fromJson(jsonContent: String): UFServiceMessageV1

Deserialize a jsonContent element into a corresponding object of type UFServiceMessageV1.

Throws

kotlinx.serialization.SerializationException

if given input can not be deserialized

if given input isn't a UFServiceMessageV1 json serialization