DHTMLX Tree: facing problem in loading tree from a JSON

what is the extension of the file name, for load tree externally (loadJASON())?



i given the extension as .txt and .xml in both the cases iam getting the following error



Error Type: Data Structure

Description: XML refers to not existing parent



Here is the content of the jason file…



“{“id”:“0”, “item”:[{“id”:“1”, “open”:“1”, “text”:“one”, “item”:[{“id”:“2”, “open”:“1”, “text”:“ssss”, “item”:[{“id”:“3”, “text”:“www”}\n]\n}\n]\n}\n]}”




>> what is the extension of the file name, for load tree externally (loadJASON())?


.json


Please, see the sample dhtmlxTree/samples/json_support/pro_load_json.html ( dhtmlx.com/docs/products/dhtmlxT … _json.html )