#Hi,
1 messages · Page 1 of 1 (latest)
Found a solution, thanks.
I used "https://app.quicktype.io" to generate a new model from the JSON.
It created a enum to deal with the issue.
Nice enums are powerful
Makes me wonder if float would work
Since they are both types of float
Implement your own decoder and try both
Yeah I might try sometime to see. Been doing non code tasks today but will code soon
app.quicktype.io is very nice for this kind of problem, at least it is a good start.