O i see Prototype's JSON implementation is good.
thanx! On 3月23日, 下午7时30分, "Martin Ström" <[EMAIL PROTECTED]> wrote: > There's a small guide on how to migrate to Prototype's json > here:http://tobielangel.com/2007/3/15/migrating-to-prototype-s-native-json > > /hms > > On 3/23/07, Christophe Porteneuve <[EMAIL PROTECTED]> wrote: > > > > > > > Hey there, > > > This json.js issue has been discussed countless times on this list, and > > the consensus is that extending Object.prototype is a malpractice. It > > breaks for/in loops, which is unacceptable. People have been pining > > over it for a long time, and still there's no new json.js coming up. > > > The ad-hoc fix you mention is improper, because it's clearly about > > introducing coupling with bugs introduced by a third-party lib/product. > > Do that often enough, and you'll be named MSIE, and become change-rigid. > > > Also, the specific issue you mention is IMHO simple to solve: since > > you're using Prototype's JSON support, you *don't* need json.js at all. > > Simply remove it and you'll be done! > > > -- > > Christophe Porteneuve aka TDD > > [EMAIL PROTECTED] > > -- > burnfield.com/martin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~----------~----~----~----~------~----~------~--~---