title: creating dynamic jstree using alternative JSON format stored in array
body: <p>I am able to create jstree using alternative JSON format as below: </p>
  
  <pre><code>$('#using_json_2').jstree({ 'core' : {
  'data' : [
     { "id" : "ajson1", "parent" : "#", "text" : "Simple root node" },
     { "id" : "ajson2", "parent" : "#", "text" : "Root node 2" },
     { "id" : "ajson3", "parent" : "ajson2", "text" : "Child 1" },
     { "id" : "ajson4", "parent" : "ajson2", "text" : "Child 2" },
  ]
  } });
  </code></pre>
  
  <p>But it is quite static. I want it to be dynamic; in the sense that, number of rows could be variable and row properties to be read from an array. I don't want to use ajax as data is already available in array.</p>