I noticed the tokenizer in the JSON sample would fail to parse strings like "foo\\".
This fixes that by not looking specifically for \" but instead ignoring any character preceded by a \ which ensures it won't be allowed to escape the ending quote if it's another \.
I noticed the tokenizer in the JSON sample would fail to parse strings like
"foo\\"
.This fixes that by not looking specifically for
\"
but instead ignoring any character preceded by a\
which ensures it won't be allowed to escape the ending quote if it's another\
.