How can I convert JSON with nested children to an array whic contain parent_id, Thank you !
var json = { id: "1", name: "lo