Use native methods to encode / decode json where possible
Reported by Jake Archibald | September 3rd, 2009 @ 08:47 AM | in 2.0
http://www.sitepoint.com/blogs/2009/08/19/javascript-json-serializa...
A native JSON object is available in some browsers, using this would be a much faster way of stringifying json data (glow.data.encodeJson). We'd need to keep the current method for other browsers.
(I haven't5 done any testing around this, it's possible the methods in JSON are buggy or don't quite do what we want them to)
Comments and changes to this ticket
-
Stephen Elson September 4th, 2009 @ 02:31 PM
- Milestone changed from 1.7 to 2.0
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A JavaScript Library