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

Tinyint type with MySQL #83

Open dtrillo opened 6 years ago

dtrillo commented 6 years ago

Hi again. I have been working more with the class, and I have some problems when using tinyiny data type on MySQL, because the output the the value is 0, in the JSON is "".

The way to solve this issue is by adding the following line after 908: if varType(value) = 16 then valueType = "Decimal"

And it solve another issue!

rcdmk commented 2 years ago

Hi,

Thanks again for your contributions and sorry for the long time waiting for a reply.

Just added support for TinyInt in the development branch: 692126a.

Would you be able to test if that works for you?

Best, Ricardo