title: can the popular javascript tree views (jstree, dynatree...) be setup to read data from an adjacency model?
body: <p>can the popular javascript tree views (jstree, dynatree...) be setup to read data from an adjacency model?
  say I have a table with classId, ClassName,ClassType,ParentClassId how can i fetch data for say the dynatree? considering the json expected by dyna tree should something like below</p>
  
  <pre><code>        {title: "Class1"},
          {title: "Class2", isFolder: true,
              children: [
                  {title: "Class4"},
                  {title: "Class5"}
              ]
          },
          {title: "Class3"}
  </code></pre>
  
  <p>I am using an asp.net asmx web service with linq to sql at the backend</p>