471,888 Members | 1,687 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,888 software developers and data experts.

JSON libraries (stringifier/parser) ?

I'm interested in finding some JSON libraries for javascript that
contain a stringifier and/or parser. I've been using what appears to
be the reference implementation from json.org (written by Douglas
Crockford?), but I'm running into two problems:

(1) The lack of support for the hasOwnProperty method in Safari

(2) Odd, intermittent errors in Gecko browsers, something to the
effect of "llegal operation on WrappedNative prototype object."

If anyone's familiar with other libraries, or with ideas for working
with these issues in using the json.org library, I'd love to hear
about them. Thanks!

Mar 27 '07 #1
1 1695
On Mar 27, 12:36 pm, "Weston" <notsew-
reversePreceedingAndRemoveT...@canncentral.orgwrot e:
I'm interested in finding some JSON libraries...
Well, to answer my own question, I was able to find at least one
standalone JSON library from Thomas Frank that doesn't seem to depend
on the hasOwnProperty method and therefore works with Safari:


It also appears to skirt whatever was triggering the "Illegal
operation on WrappedNative prototype object" error in the Moz/Gecko

Mar 30 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by George Jempty | last post: by
16 posts views Thread by G Matthew J | last post: by
20 posts views Thread by Luke Matuszewski | last post: by
4 posts views Thread by James Black | last post: by
2 posts views Thread by paulfe4 | last post: by
5 posts views Thread by Gerry Vandermaesen | last post: by
1 post views Thread by Red Daly | last post: by
23 posts views Thread by dhtmlkitchen | last post: by
3 posts views Thread by belred | last post: by
reply views Thread by YellowAndGreen | last post: by
reply views Thread by zermasroor | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.