toJson

fun toJson(): Map<String, Any?>

Converts this request to a JSON-compatible map.

The returned map is suitable for serialization when sending requests to a recovery server via HTTP POST or PUT. Each identity is converted to its JSON representation using Sep30RequestIdentity.toJson.

Return

A map with an "identities" entry containing the serialized identity list