Fails to parse with whitespace after comma
madmod opened this issue · comments
JSON like the following will fail to parse:
{"stuff":"hi", "things":42}
The space after the comma causes the error:
Key does not exist; file: ~lib/map.ts, line: 105, col: 17
I applied a temporary fix to it, but I might be able to figure out a more performant way of removing whitespace later. Please close this if it works!
@JairusSW With the latest version I get an error about not having as-console. I think it might have something to do with using a relative path to node_modules in the import. I made a fork and tried "as-console/assembly/wasi"
but it gives ERROR TS6054: File '~lib/as-console/assembly/wasi.ts' not found.
when I try to build it.
I fixed the problem. Sorry about that!
No worries! Thanks for the fast fix! Works great!
Awesome :)