No, but from I understand (don't use JSON myself), it translates directly into Javascript objects when eval'ed.
var myObj = eval(myJSONstring); -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robin Haswell Sent: Friday, February 10, 2006 5:02 PM To: rails-spinoffs@lists.rubyonrails.org Subject: Re: [Rails-spinoffs] Length of parameters in Autocompleter.Local() Michael Peters wrote: > > Robin Haswell wrote: >> Hm I may be mistaken. AFAIU JSON is a JS-compatible serialization form? >> Do browsers have built-in JSON deserializers? > > Well, they'd have to if they have JS interpreters right? > Um no, I mean can you convert a JSON object into a memory construct without parsing it with Javascript code. Hence, is there a built-in JSON deserializer (that isn't written in JavaScript). As far as I am aware, JSON isn't part of the javascript language specification. -Rob _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs The information transmitted in this electronic mail is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs