-
Bug
-
Resolution: Unresolved
-
Major
-
None
Inside Jenkins, JSON.stringify([1,2]) returns ""[1,2]"" (string that has " as the first char), instead of "[1,2]" (string that has '[' as the first char)
This is because JSON.stringify consults toJSON methods on objects, and Prototype adds toJSON method on Array.
I'm not sure how to resolve this aside from overriding JSON.stringify() with Prototype's Object.toJSON.
- duplicates
-
JENKINS-15526 toJSON broken: [JENKINS-11618] reintroduced a bug fixed by prototypejs 1.7
- Open