To load the tree from JSON you need to have a JSON object or a file.
Format of JSON. { id:ID, attributes.... , item:[ array of child objects ]}