I have encountered an issue with my json serializing process. Upon comparing the current version of my app with an older version, I noticed unexpected differences in the behavior of JSON.stringify() function (Utilizing the JSON library from json.org).
In the old version of my app:
JSON.stringify({"a":[1,2]})
The output was;
"{\"a\":[1,2]}"
In the new version,
JSON.stringify({"a":[1,2]})
The output became;
"{\"a\":\"[1, 2]\"}"
Can anyone shed light on what might have caused the same library to enclose array brackets in quotes in the newer version?