lowsky24 / aspjson

Automatically exported from code.google.com/p/aspjson
0 stars 0 forks source link

Exception on encountering \unnnn #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. parseJSON( "{""test"":""\uefff""}" )

What is the expected output? What do you see instead?
It pulls an index out of range error on line 96

What version of the product are you using? On what operating system?
Version 2.0.3

Please provide any additional information below.
Change line 95 to read:
  If charcode >= 0 AND charcode < 127 Then

Original issue reported on code.google.com by elearnin...@gmail.com on 29 Nov 2009 at 10:21

GoogleCodeExporter commented 8 years ago
The class haven't parse json string capabilities. parseJSON function hasn't 
define in
the class. Look at source code
http://code.google.com/p/aspjson/source/browse/trunk/JSON.vbs

Original comment by tugrulto...@gmail.com on 29 Nov 2009 at 10:32