Subj : Re: Serializing JavaScript in spidermonkey To : netscape.public.mozilla.jseng From : Chris Zumbrunn Date : Wed Dec 31 2003 09:12 am Brendan Eich wrote: > Marcello Bastea-Forte wrote: > > > Hey, > > > > I'd like to serialize a javascript object to a file, and I was wondering > > if anyone has done this, and if there was any 'best' way to do it. > > In my experience there is no best way, because what hides behind a JS > object can't be expressed in a literal form in the JS language, in full. Douglas Crockford's JSON wouldn't do the job? http://www.crockford.com/JSON/index.html Chris .