• Does not handle tab characters as whitespace in ls.snapps.JSONReader.Parse

    By Samuel Flint 7 years ago

    When json data was being recieved from a source that 'beautifies' the json with tabs, the parser was unable to read the data, throwing an exception about being in an infinite loop.

    Resolved this by editing line 528 within sub SkipWhoteSpace:

    Original:

    While sPeek = " " Or Asc(sPeek) = 10 Or Asc(sPeek) = 13
    

    Updated:

    While sPeek = " " Or Asc(sPeek) = 9 Or Asc(sPeek) = 10 Or Asc(sPeek) = 11 Or Asc(sPeek) = 13
    
    • By Samuel Flint 7 years ago

      *SkipWhiteSpace