* Convert JSON to struct * @param {!string} json JSON string * @returns {!object} Struct value for JSON
(json)
| 2134 | * @returns {!object} Struct value for JSON |
| 2135 | */ |
| 2136 | static fromJSON (json) { |
| 2137 | return Balance.fromObject(JSON.parse(json)) |
| 2138 | } |
| 2139 | |
| 2140 | /** |
| 2141 | * Create struct from object value |
nothing calls this directly
no test coverage detected