Closed achille-roussel closed 2 years ago
Okay, yeah. I see this. Dynamic Objects are still in the works atm. I would recommend sticking with the schema objects because the dynamic system is pretty glitchy still. Also, I may have to make a rewrite soon because I'm finding some problems with the transforms. I'll try to get back to you as soon as possible
Okay, I'm back on this. Currently finishing up the rewrite and I am writing the algorithms to parse objects now. I'll keep this in mind and add it to tests
Fixed with latest release
Hello,
I'm reporting what appears to be a bug when parsing inputs with trailing new lines as a
JSON.Object
.I am using
json-as
in version 0.2.6This is the behavior I am seeing when there are no trailing new lines:
This is the behavior when the input has a trailing new line:
As you can see, the value contains an invalid
\"
which did not exist in the input.I have also observed other bugs of this kind when new lines exist in other places, for example with this input:
Parsing into
JSON.Object
results in an object with a"hello
key andworld"
value.