title: json_encode and nested objects
body: <p>I have nested PHP objects that I would like to save in memcache. Can I use json_encode(), json_decode() to store/retrieve the data from memcache?</p>
  
  <p>Implicit in the question is whether the json_encode() function is "clever" enough to introspect my objects without me having to explicitly define the structure.</p>
  
  <p>if json_encode() is not the way to go, how can I store my nested objects in memcache?</p>