Closed Gama11 closed 7 years ago
Tried in https://github.com/elnabo/json2object/commit/07e52e08d73cbd85f35deb6f0097aac13db5d520, it fixes the issue but I'm seeing some inconsistencies in the tests on different targets.
Some say null should 0
or null should be []
but not all.
Also is the haxe_ver
check necessary? There's either the null abstract or null typedef, so there shouldn't be any conflict in checking both.
Hm, right, might not be necessary.
Hm, something seems to be broken.. will look into it later. https://travis-ci.org/vshaxe/vshaxe#L677
Nvm, that was actually an issue with the macros in haxe-formatter, which also needed an update.
Because of https://github.com/HaxeFoundation/haxe/pull/6380, json2object needs an update to support Haxe 4. Ideally, the
haxe_ver
defines is checked (example) to support both Haxe 4+ and 3.4.