* Convert JSON to struct * @param {!string} json JSON string * @returns {!object} Struct value for JSON
(json)
| 918 | * @returns {!object} Struct value for JSON |
| 919 | */ |
| 920 | static fromJSON (json) { |
| 921 | return Order.fromObject(JSON.parse(json)) |
| 922 | } |
| 923 | |
| 924 | /** |
| 925 | * Create struct from object value |
nothing calls this directly
no test coverage detected