The smartXMLParsing mode can work with JSON as well ( when the type of loaded data has been changed, all other API remains the same ). The tree in the example contains about 10000 nodes.