{"action":"closed","issue":{"url":"https://api.github.com/repos/vakata/jstree/issues/1176","labels_url":"https://api.github.com/repos/vakata/jstree/issues/1176/labels{/name}","comments_url":"https://api.github.com/repos/vakata/jstree/issues/1176/comments","events_url":"https://api.github.com/repos/vakata/jstree/issues/1176/events","html_url":"https://github.com/vakata/jstree/issues/1176","id":95152424,"number":1176,"title":"JsTree gets error for certern json data","user":{"login":"qq362220083","id":7076606,"avatar_url":"https://avatars.githubusercontent.com/u/7076606?v=3","gravatar_id":"","url":"https://api.github.com/users/qq362220083","html_url":"https://github.com/qq362220083","followers_url":"https://api.github.com/users/qq362220083/followers","following_url":"https://api.github.com/users/qq362220083/following{/other_user}","gists_url":"https://api.github.com/users/qq362220083/gists{/gist_id}","starred_url":"https://api.github.com/users/qq362220083/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qq362220083/subscriptions","organizations_url":"https://api.github.com/users/qq362220083/orgs","repos_url":"https://api.github.com/users/qq362220083/repos","events_url":"https://api.github.com/users/qq362220083/events{/privacy}","received_events_url":"https://api.github.com/users/qq362220083/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-15T09:54:10Z","updated_at":"2015-07-15T12:31:43Z","closed_at":"2015-07-15T12:31:43Z","body":"Sample data like this:\r\n```\r\n[\r\n    {\r\n        \"id\": \"node1\", \r\n        \"parent\": \"#\", \r\n        \"text\": \"Node1\", \r\n        \"children\": true\r\n    }, \r\n    {\r\n        \"id\": \"node11\", \r\n        \"parent\": \"node1\", \r\n        \"text\": \"Node 1-1\", \r\n        \"children\": true\r\n    }\r\n]\r\n```\r\n\r\njstree throws an exception:\r\n```\r\nUncaught TypeError: m[dat[i].parent.toString(...)].children.push is not a function\r\n```"}}