fromJson

fun fromJson(json: JsonObject): Sep30AccountsResponse

Parses a JSON object into a Sep30AccountsResponse.

The JSON must contain an accounts field with an array of account objects.

Return

The parsed accounts response

Parameters

json

The JSON object returned by the recovery server

Throws

if the required accounts field is missing