title: Serializing Camera State in ThreeJS
body: <p>What is the best way to serialize (or save or marshal) the state of the camera in a ThreeJS scene, and then un-serialize (or load or unmarshal) the camera later?</p>
  
  <p>Right now I am saving the x, y, z coordinates of the camera's position, up, and (Euler angle) rotation fields. Later I try to restore this camera with calls to <code>position.set()</code>, <code>up.set()</code>, and <code>rotation.set()</code>, and then follow-up with a call to <code>updateProjectionMatrix()</code>. I assume the default Euler angle rotation order is the same when serializing and un-serializing.</p>
  
  <p>Is this correct?</p>