By Date: <-- -->
By Thread: <-- -->

Length of parameters in Autocompleter.Local()



Oh I see. How interesting. Eval scares me heh. Well in which case you'd have to unit-test JSON vs XML to see which would be quicker. I have a feeling it'd be close though, and I know which one I'd pick if that was the case.

-Rob

Ryan Gahl wrote:
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: rails-spinoffs-bounces (at) lists.rubyonrails.org
[mailto:rails-spinoffs-bounces (at) lists.rubyonrails.org] On Behalf Of Robin
Haswell
Sent: Friday, February 10, 2006 5:02 PM
To: rails-spinoffs (at) 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 (at) 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 (at) lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
  
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs (at) lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs