fromJson

fun fromJson(json: JsonObject): CompressedStatusList

Parses JSON as status list.

This method is mostly useful for testing, as JSON is typically wrapped in JWT.

Return

parsed CompressedStatusList

Parameters

json

JSON status list representation

Throws

when json does not represent status list