Re: [jQuery] JSON Serializer

2006-11-15 Thread Mark Gibson
Alan Gutierrez wrote: > The JSON methods here are so useful, I'm wondering why they are not > part of the distribution? Is it the strange license? > > * Christopher Jordan <[EMAIL PROTECTED]> [2006-11-13 10:54]: > >> Mark Gibson has alreay hacked the json.js into a jQuery plug-in. I'm >> using i

Re: [jQuery] JSON Serializer

2006-11-14 Thread Christopher Jordan
Good question Alan. I'm glad to hear that things are working out better with the use of this plug-in. Chris Alan Gutierrez wrote: Christopher and Dotan Thank you. This is what I'm looking for. Setting the prototype for classes like Object, String, etc, collides with Google Maps, and I'm h

Re: [jQuery] JSON Serializer

2006-11-14 Thread Alan Gutierrez
Christopher and Dotan Thank you. This is what I'm looking for. Setting the prototype for classes like Object, String, etc, collides with Google Maps, and I'm having a much easier time with jQuery. The JSON methods here are so useful, I'm wondering why they are not part of the distribution? Is it

Re: [jQuery] JSON Serializer

2006-11-13 Thread Christopher Jordan
Alan, Mark Gibson has alreay hacked the json.js into a jQuery plug-in. I'm using it in my application, right now. It provides two new functions: $.toJSON() and $.parseJSON(). Maybe this is what you're looking for? Here's a link to his code. If it's broken for some reason, let me know. I've

Re: [jQuery] JSON Serializer

2006-11-13 Thread Dotan Dimet
I've got an earlier version of the JSON.org script (copyright 2005) which has a JSON.stringify()function. You can find it online in various places, by searching for either that or its "license" terms: "The Software shall be used for Good, not Evil." http://www.google.com/codesearch?q=+%22The+Softwa

[jQuery] JSON Serializer

2006-11-13 Thread Alan Gutierrez
I'd like to serialize Objects, Arrays, Strings, Booleans, Dates, and Numbers (the basics) to JSON. With Prototype, I'd used the json.js library from JSON.org. http://www.json.org/json.js This library extends the base objects, which breaks the latest Google Maps API and jQuery to boot. Can anyone