rcdmk / aspJSON

A fast classic ASP JSON parser and encoder for easy JSON manipulation to work with the new JavaScript MV* libraries and frameworks.
MIT License
203 stars 89 forks source link

vbBack not a valid ASP/VBScript constant #75

Closed strider72 closed 6 years ago

strider72 commented 6 years ago

In the EscapeCharacters function, line 916 or so of the class file, you have this line:

result = replace(result, vbback, "\b")

vbback returns an error if Option Explicit is turned on. It doesn't appear that "vbback" is a valid vbscript constant. See http://www.powerasp.net/content/new/vbscript-constants.asp

rv-rsouza commented 6 years ago

Hi. Don't know what version your are using, but the master branch (3.7) has a private variable to specify that.

Can you check that version?

strider72 commented 6 years ago

3.6.0 -- latest release

strider72 commented 6 years ago

Ah, sorry. Should have checked issues resolved after the release... https://github.com/rcdmk/aspJSON/issues/53

Although... the fix cited in that issue doesn't actually fix this.

rcdmk commented 6 years ago

Absolutely no problem. Thanks.