Closed ChiellieNL closed 3 years ago
Thank you for fixing the issue, I will merge the commit, and I may change some of the code to make it look similar to the rest of the code style. Also I will add some tests to make sure that the issue is indeed fixed.
Assume my JSON would be:
the lexer would consider the string ended on the first
"
before theq
and then break with anunknown
token.This patch will check if the
"
is being proceeded by a\
and, if so, continue looking for the string's (real) end.