fromJson

fun fromJson(json: JsonObject): Sep30AccountResponse

Parses a JSON object into a Sep30AccountResponse.

The JSON must contain address, identities, and signers fields.

JSON Field Mapping

  • address ->address (required)

  • identities ->identities (required, array of identity objects)

  • signers ->signers (required, array of signer objects)

Return

The parsed account response

Parameters

json

The JSON object returned by the recovery server

Throws

if any required field is missing