Trying to use json2object for vshaxe's build tool, I came across this issue:
class Main {
static function main() {
var parser = new json2object.JsonParser<ReadonlyStruct>();
trace(parser.fromJson('{"foo":1}', ""));
}
}
typedef ReadonlyStruct = {
var foo(default,null):Int;
}
Trying to use json2object for vshaxe's build tool, I came across this issue: