json2object
json2object copied to clipboard
JsonParser_4 does not have a constructor
I keep running into this issue where I cant build my haxe heaps project because of this error:
I can get rid of the error by restarting the build server, but i have the feeling like it might be easy to fix. I mainly see it every time my program crashes
Im on linux (endeavouros)
What version of Haxe are you using?
After updating to latest json2object 3.11 and haxe 4.3.4, I no longer see that particular issue, but instead I get this error.
Again, restarting the haxe build server solves the issue.
Another one:
From my understanding of #74, the redefinition is a problem with the compilation server, but I don't have knowledge of a fix.
On the other hand "Missing function body" seems to be a bug from the hl compilation
I wrote this in #74:
Ok, I started getting something similar with haxe 4.3.6 and json2object 3.11.0, and REMOVING @:persistent fixed the problem. It's possible that a change in the compilation server fixed the bug and persisting values brought another one?
So a quick fix is to remove @:persistent from json2object.reader.DataBuilder.hx and json2object.writer.DataBuilder.hx.