title: Javascript objects parsed vs created
body: <p>What is the <strong>practical</strong> difference between <code>p</code> and <code>p2</code> objects here:</p>
  
  <pre><code>var Person = function(name) { this.Name=name; }
  var p = new Person("John");
  
  var p2 = JSON.parse('{"Name":"John"}');
  </code></pre>
  
  <p>What are the cases when I would better create <code>new Person()</code> and copy values from parsed JSON, rather than use that parsed JSON object as I would use the instance of <code>Person</code>?</p>
  
  <p>PS. Let's say I got JSON string from WebSocket and I will have to parse it anyway.</p>