Currently I am having very large JSON data and I want to make trimmed version before I use the JSON data to process in Angular JS Controller.
In the Below JSON Data ,I dont want to have comment
and htmlComment
element , How I can delete those and have new very light version JSON data before I process the data
Here To make simplicity I have made very easy JSON Array, But in real I have very data which is almost 100mb.
I have gone thorugh many questions still not able to make
Below is the JSON Data
[
{
"executions": [
{
"id": 241049,
"orderId": 212250,
"executionStatus": "1",
"executedOn": "19/Jul/17 7:42 PM",
"executedBy": "ext1",
"executedByDisplay": "Person1",
"comment": "Comment1",
"htmlComment": "HTML1"
},
{
"id": 241049,
"orderId": 212250,
"executionStatus": "1",
"executedOn": "19/Jul/17 7:42 PM",
"executedBy": "ext1",
"executedByDisplay": "Person1",
"comment": "Comment1",
"htmlComment": "HTML1"
},
{
"id": 241049,
"orderId": 212250,
"executionStatus": "1",
"executedOn": "19/Jul/17 7:42 PM",
"executedBy": "ext1",
"executedByDisplay": "Person1",
"comment": "Comment1",
"htmlComment": "HTML1"
}
],
"currentlySelectedExecutionId": "",
"recordsCount": 210,
"stepDefectCount": 0,
"totalDefectCount": 0
},
{
"executions": [
{
"id": 241049,
"orderId": 212250,
"executionStatus": "1",
"executedOn": "19/Jul/17 7:42 PM",
"executedBy": "ext1",
"executedByDisplay": "Person1",
"comment": "Comment1",
"htmlComment": "HTML1"
},
{
"id": 241049,
"orderId": 212250,
"executionStatus": "1",
"executedOn": "19/Jul/17 7:42 PM",
"executedBy": "ext1",
"executedByDisplay": "Person1",
"comment": "Comment1",
"htmlComment": "HTML1"
},
{
"id": 241049,
"orderId": 212250,
"executionStatus": "1",
"executedOn": "19/Jul/17 7:42 PM",
"executedBy": "ext1",
"executedByDisplay": "Person1",
"comment": "Comment1",
"htmlComment": "HTML1"
}
],
"currentlySelectedExecutionId": "",
"recordsCount": 210,
"stepDefectCount": 0,
"totalDefectCount": 0
},
{
"executions": [
{
"id": 241049,
"orderId": 212250,
"executionStatus": "1",
"executedOn": "19/Jul/17 7:42 PM",
"executedBy": "ext1",
"executedByDisplay": "Person1",
"comment": "Comment1",
"htmlComment": "HTML1"
},
{
"id": 241049,
"orderId": 212250,
"executionStatus": "1",
"executedOn": "19/Jul/17 7:42 PM",
"executedBy": "ext1",
"executedByDisplay": "Person1",
"comment": "Comment1",
"htmlComment": "HTML1"
},
{
"id": 241049,
"orderId": 212250,
"executionStatus": "1",
"executedOn": "19/Jul/17 7:42 PM",
"executedBy": "ext1",
"executedByDisplay": "Person1",
"comment": "Comment1",
"htmlComment": "HTML1"
}
],
"currentlySelectedExecutionId": "",
"recordsCount": 210,
"stepDefectCount": 0,
"totalDefectCount": 0
}
]