how to remove the property that contains null value from the below input
var data = [
{ "Id": "parent", "Function": "Project Management", "Phase": "(Null)" },
{ "Id": "1", "Function": "R&D Team", "Phase": "parent" },
{ "Id": "2", "Function": "HR Team", "Phase": "parent" },
{ "Id": "3", "Function": "Sales Team", "Phase": "parent" },
{ "Id": "4", "Function": "Philosophy", "Phase": "1" },
{ "Id": "5", "Function": " Organization", "Phase": "1" },
];
{ "Id": "parent", "Function": "Project Management", "Phase": "" }or{ "Id": "parent", "Function": "Project Management", "Phase": null}?{ "Id": "parent", "Function": "Project Management", "Phase": "" } or { "Id": "parent", "Function": "Project Management", "Phase": null}For this case i have no issues