I have this JSON:
{
"id": 10,
"name": "Color test2",
"seed_id": 1,
"season_id": 2,
"description": null,
"work_schedule_type_id": 2,
"color": "#00A946",
"active": false,
"starred": true,
"phases": [{
"id": 2,
"name": "Phase2",
"work_schedule_type_id": 2,
"phase_color": "#343434",
"phase_order_of_operations": 1,
"description": "TEST PHASE TYPE2",
"isExpanded": false,
"$$hashKey": "object:1387"
}]
}
I need add a property tasks
for each phase in phases. How I can do this?