title: How to serialize & deserialize JavaScript objects?
body: <p>I need to serialize and deserialize JavaScript objects to store them in a DB.</p>
  <p>Note that these objects contain functions, so I can't store them as JSON, so I can't use json2.js.</p>
  <p>What's the state of the art in [de]serialization of JavaScript objects (in JavaScript of course).</p>