fromJson

fun fromJson(j: JsonObject): ServerFrame

Parses the wire shape; unknown (or undecodable) types become UnknownFrame.