bhall2001 / fastjson

A Livecode library for JSON encoding and decoding to and from Arrays.
MIT License
17 stars 11 forks source link

function jsonValue escaping the wrong variable in default case #13

Closed soapdog closed 8 years ago

soapdog commented 8 years ago

The private jsonValue() function is escaping a variable called pText in its default case when the variable should be pValue. this leads to corrupt json full of newlines and other non-conformant stuff.

bhall2001 commented 8 years ago

Verified this is a bug. Squashed.

bhall2001 commented 8 years ago

Fixed in 4.0.1

bhall2001 commented 8 years ago

This has been fixed. Closed based on my testing and lack of further reports the issue still exists. I do believe this bug also caused other reports of issues with fastJson but since this is corrected, I have not been able to replicate other reports and have closed them as well.