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
204 stars 89 forks source link

ASP Syntax error "class JSONobject" #77

Closed station1inc closed 6 years ago

station1inc commented 6 years ago

I am new to this and try to use this parser for some ASP/Json script I have on an IIS 8.0 and this is a simple ASP script.

I get a syntax error on the line "class JSONobject" … I did check the json configuration and everything appears fine. Any other suggestions?

rcdmk commented 6 years ago

Hello! Do you have classic ASP support enabled in IIS? I've just tested the current version and this error is not present.

station1inc commented 6 years ago

Found the problem. I had included the file deep into my code, whereas when I included it on the first line, it worked like a charm.

Many thanks for the quick response. Totally awesome.