tuxicon/vba-json

parseString bug

Opened this issue · 0 comments

I found an issue that crashes the parseString function where data delimited
with a single quote and containing encoded single quotes.  

It causes a freeze. This can be fixed by adding a single quote to the case
statement:

            Select Case (char)
               Case """", "\\", "/", "'"
                  SB.Append char
                  index = index + 1
               Case "b"


Original issue reported on code.google.com by webmas...@ediy.co.nz on 25 Mar 2009 at 6:13