magemonkeystudio/codex

YAML & JSON(Maybe something else) Parser

Closed this issue · 3 comments

image
As the code shows, your Parser(s) share a variable i,
this will cause issues when async.
Please make that parser an Object or do something else.

Like:
image

Hmm. Yeah that's interesting. I didn't write the YAMLParser class, but that definitely should be adjusted.

By the way
The YAML parse countSpace should also be changed to:
image
Otherwise, if the key contains spaces that will be counted too.

After changing that, might fix this:
image