I have loaded a jsTree with an AJAX call that returns JSON data. How can I refresh the tree so that it reloads its contents?
$('#treeId').data('jstree', false).empty().jstree(json);