How to serialize & deserialize Javascript objects?
I need to serialize and deserialize Javascript objects to store them in a DB. 

Note that these objects contain functions, so I can't store them as JSON, so I can't use json2.js.

What's the state of the art in [de]serialization of javascript objects (in javascript of course).

Thanks,
Stewart
How to serialize & deserialize Javascript objects?
===

I need to serialize and deserialize Javascript objects to store them in a DB. 

Note that these objects contain functions, so I can't store them as JSON, so I can't use json2.js.

What's the state of the art in [de]serialization of javascript objects (in javascript of course).

Thanks,
Stewart