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
        {title: "Class1"},
        {title: "Class2", isFolder: true,
            children: [
                {title: "Class4"},
                {title: "Class5"}
            ]
        },
        {title: "Class3"}
I am using an asp.net asmx web service with linq to sql at the backend
 
    