Closed GoogleCodeExporter closed 9 years ago
The problem of strings which look like JSON encoded values is something I have
been wanting to fix, and I have an enhancement request to do so in Issue #20
With regards to your use of jquery.json-2.2, I'm sorry to say that if the
defacto-standard JSON API (stringify, parse) is not present, you will not have
the capability to use anything other than
strings. Many modern browsers are using the API now, and the JSON2.js file
provides it in browsers which do not. Even jQuery core is now defaulting to
using the API when it is present, so
providing JSON2.js helps jQuery in less desirable browsers. JSON2.js is what
is always recommended in the jQuery IRC chan and forums when anyone wants to
work with JSON. Any other JSON
API is, IMO, bloat and any code which uses it should be reworked such that the
bloat can be removed.
Original comment by auldrid...@gmail.com
on 3 Jun 2010 at 12:49
Thank you for your detailed comment. You have a point there for sure, and I'm
using
json2.js now, reverting my attached patch.
Thanks a lot!
Original comment by rues...@gmail.com
on 4 Jun 2010 at 1:50
Original issue reported on code.google.com by
rues...@gmail.com
on 3 Jun 2010 at 10:23Attachments: