parse

fun parse(payload: String): Balance

Takes an existing Balance in the form of a json string and parses it into a Balance object. Validates object structure and performs an integrity check using the signature.

Return

The json string parsed into a concrete Balance implementation.

Parameters

payload

The Balance as a json string.