sbitaxi / vba-json

Automatically exported from code.google.com/p/vba-json
0 stars 0 forks source link

parseString bug #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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