* Convert JSON to struct * @param {!string} json JSON string * @returns {!object} Struct value for JSON
(json)
| 873 | * @returns {!object} Struct value for JSON |
| 874 | */ |
| 875 | static fromJSON (json) { |
| 876 | return Order.fromObject(JSON.parse(json)) |
| 877 | } |
| 878 | |
| 879 | /** |
| 880 | * Create struct from object value |
nothing calls this directly
no test coverage detected