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: tdd-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---