expected.odin (297B)
1 // Code generated by jschema. DO NOT EDIT. 2 package schema 3 4 Root :: struct { 5 shape: union {Circle, Rect} `json:"shape"`, 6 value: union {string, f64} `json:"value"`, 7 } 8 9 Circle :: struct { 10 radius: f64 `json:"radius"`, 11 } 12 13 Rect :: struct { 14 width: f64 `json:"width"`, 15 height: f64 `json:"height"`, 16 }