Number parsing
main.w
let j = Json { a: 100 };
let x: num = num.fromStr("1");
let y: num = num.fromJson(j.get("a"));
log(x);
log(y);
Wing console output
# Run locally with wing console
1
100
let j = Json { a: 100 };
let x: num = num.fromStr("1");
let y: num = num.fromJson(j.get("a"));
log(x);
log(y);
# Run locally with wing console
1
100