{"action":"created","issue":{"url":"https://api.github.com/repos/agershun/alasql/issues/571","labels_url":"https://api.github.com/repos/agershun/alasql/issues/571/labels{/name}","comments_url":"https://api.github.com/repos/agershun/alasql/issues/571/comments","events_url":"https://api.github.com/repos/agershun/alasql/issues/571/events","html_url":"https://github.com/agershun/alasql/issues/571","id":130126756,"number":571,"title":"Group/merge inclusive nested","user":{"login":"MarioVanDenEijnde","id":12608918,"avatar_url":"https://avatars.githubusercontent.com/u/12608918?v=3","gravatar_id":"","url":"https://api.github.com/users/MarioVanDenEijnde","html_url":"https://github.com/MarioVanDenEijnde","followers_url":"https://api.github.com/users/MarioVanDenEijnde/followers","following_url":"https://api.github.com/users/MarioVanDenEijnde/following{/other_user}","gists_url":"https://api.github.com/users/MarioVanDenEijnde/gists{/gist_id}","starred_url":"https://api.github.com/users/MarioVanDenEijnde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarioVanDenEijnde/subscriptions","organizations_url":"https://api.github.com/users/MarioVanDenEijnde/orgs","repos_url":"https://api.github.com/users/MarioVanDenEijnde/repos","events_url":"https://api.github.com/users/MarioVanDenEijnde/events{/privacy}","received_events_url":"https://api.github.com/users/MarioVanDenEijnde/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/agershun/alasql/labels/Question","name":"Question","color":"cc317c"},{"url":"https://api.github.com/repos/agershun/alasql/labels/Solved:%20please%20test","name":"Solved: please test","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"agershun","id":643040,"avatar_url":"https://avatars.githubusercontent.com/u/643040?v=3","gravatar_id":"","url":"https://api.github.com/users/agershun","html_url":"https://github.com/agershun","followers_url":"https://api.github.com/users/agershun/followers","following_url":"https://api.github.com/users/agershun/following{/other_user}","gists_url":"https://api.github.com/users/agershun/gists{/gist_id}","starred_url":"https://api.github.com/users/agershun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agershun/subscriptions","organizations_url":"https://api.github.com/users/agershun/orgs","repos_url":"https://api.github.com/users/agershun/repos","events_url":"https://api.github.com/users/agershun/events{/privacy}","received_events_url":"https://api.github.com/users/agershun/received_events","type":"User","site_admin":false},"milestone":null,"comments":23,"created_at":"2016-01-31T13:23:52Z","updated_at":"2016-01-31T21:20:25Z","closed_at":null,"body":"Hello ALASQL team,\r\n\r\nCan you help me with another challenge?\r\n\r\nI have the following arrays:\r\n```\r\nres1: [{\"Title\":\"Normen\",\"Id\":5},{\"Title\":\"Agenda\",\"Id\":1},{\"Title\":\"Lijsten\",\"Id\":3}]\r\nres2: [{\"Title\":\"Lijst Constructies Beheer\",\"ParentId\":3},{\"Title\":\"MateriaalTechnische Normen\",\"ParentId\":5},{\"Title\":\"Lijst Constructies\",\"ParentId\":3},{\"Title\":\"MateriaalTechnische Normen Beheer\",\"ParentId\":5}]\r\n```\r\nAnd I need the following result:\r\n```\r\nres3: [{\"Title\":\"Normen\",\"Id\":5,\"children\":[{\"Title\":\"MateriaalTechnische Normen\",\"ParentId\":5},{\"Title\":\"MateriaalTechnische Normen Beheer\",\"ParentId\":5}]},{\"Title\":\"Agenda\",\"Id\":1},{\"Title\":\"Lijsten\",\"Id\":3,\"children\":[{\"Title\":\"Lijst Constructies Beheer\",\"ParentId\":3},{\"Title\":\"Lijst Constructies\",\"ParentId\":3}]}]\r\n```\r\n\r\nKind regards,\r\nMario"},"comment":{"url":"https://api.github.com/repos/agershun/alasql/issues/comments/177614005","html_url":"https://github.com/agershun/alasql/issues/571#issuecomment-177614005","issue_url":"https://api.github.com/repos/agershun/alasql/issues/571","id":177614005,"user":{"login":"agershun","id":643040,"avatar_url":"https://avatars.githubusercontent.com/u/643040?v=3","gravatar_id":"","url":"https://api.github.com/users/agershun","html_url":"https://github.com/agershun","followers_url":"https://api.github.com/users/agershun/followers","following_url":"https://api.github.com/users/agershun/following{/other_user}","gists_url":"https://api.github.com/users/agershun/gists{/gist_id}","starred_url":"https://api.github.com/users/agershun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agershun/subscriptions","organizations_url":"https://api.github.com/users/agershun/orgs","repos_url":"https://api.github.com/users/agershun/repos","events_url":"https://api.github.com/users/agershun/events{/privacy}","received_events_url":"https://api.github.com/users/agershun/received_events","type":"User","site_admin":false},"created_at":"2016-01-31T21:20:25Z","updated_at":"2016-01-31T21:20:25Z","body":"Sorry for this, it is so hard to make it stable,,, We still have a lot of things to do."}}