* Convert JSON to struct * @param {!string} json JSON string * @returns {!object} Struct value for JSON
(json)
| 1980 | * @returns {!object} Struct value for JSON |
| 1981 | */ |
| 1982 | static fromJSON (json) { |
| 1983 | return Balance.fromObject(JSON.parse(json)) |
| 1984 | } |
| 1985 | |
| 1986 | /** |
| 1987 | * Create struct from object value |
nothing calls this directly
no test coverage detected