title: Reading JSON in joint.js?
body: <p>I want joint.js library to read my JSON and display it as a chart...</p>
  
  <pre><code>var paper = new joint.dia.Paper({
      el: $('#paper'),
      width: 600,
      height: 200,
      model: graph
  });
  
  var graph = new joint.dia.Graph;
  
  jsonstring = '{"employees": [ { "firstName":"John" , "lastName":"Doe" }, { "firstName":"Anna" , "lastName":"Smith" }, { "firstName":"Peter" , "lastName":"Jones" } ] }';
  
  graph.fromJSON(JSON.parse(jsonstring));
  </code></pre>