Hey Javier,

Javier Martinez a écrit :
> I'm using the "Prototype JavaScript framework, version 1.5.0_rc1" and  
> when I add the json.js script (http://www.json.org/js.html) to the  
> document, I get an "Too much recursion" error.

OK, when in your script does it happen?  I assume it's not at load time,
is it?  Then where, and what variables/expressions are involved?  We
need some context.

> Is this version of prototype making some incompatibilities with json.js?

Not that I am aware of.  Certainly nothing in this group's archive or
Prototype's Trac seems to indicate so.

> Have prototype built in methods for working with json (array 2 json,  
> object 2 json, etc)?

Well, the inspect() methods in Object, Array and String are pretty much
JSON-friendly.  Such methods in Element, Enumerable and Hash are not
JSON-oriented though.

-- 
Christophe Porteneuve a.k.a. TDD
"[They] did not know it was impossible, so they did it." --Mark Twain
Email: [EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to