use get_json in jstree example Example: use get_json in jstree example var v =$("#jseq_tree").jstree(true).get_json('#', { 'flat': true });