title: Convert JSON to HTML Tree
body: <p>I would like to generate an HTML tree (preferably UL-LI) from the JSON example below. Does anyone have a <strong>simple</strong>, recursive JS function (not a framework) that can handle this specific structure? Thanks for your help!</p>
  
  <pre><code>{ "folder" : [ {
      "title" : "1",
      "folder" : [ {
          "title" : "1.1",
          "folder" : [ {
              "title" : "1.1.1",
          } , {
              "title" : "1.1.2",
          } ]
      } ]
  } , {
      "title" : "2",
  } ] }
  </code></pre>