![]() Much of the comment handling in the parsers is bespoke, and does not honor this flag. By unfiying it under a common API, the parser is simplified and strict mode is now more correctly strict. Note that allowComments mode does not allow for comments in arbitrary locations; they are allowed only in certain positions. Rectifying this is a bigger effort, since collectComments mode requires storing the comments somewhere, and it's not immediately clear where in the DOM all such comments should live. |
||
---|---|---|
.. | ||
data | ||
jsonchecker | ||
cleantests.py | ||
generate_expected.py | ||
pyjsontestrunner.py | ||
runjsontests.py | ||
rununittests.py |