Using the POSTJsonData Script i can get all the data but its not merged
i have been stuck here and guess i need some help.
how can i merge this data
Preformatted text
{
“TicketId”: “398351”,
“Id”: “608640”,
“OrderNumber”: “67”,
“OrderUid”: “JtS6xlfa9kqU-VxoboNqEQ”,
“MenuItemId”: “39247”,
“MenuItemName”: “DELMONTE JUICE -PACKET”,
“PortionName”: “Normal”,
“Price”: “100.00”,
“Quantity”: “1.000”,
“PortionCount”: “1”,
“PriceTag”: “”,
“Tag”: “”,
“Taxes”: “[{“AC”:false,“AT”:14,“RN”:2,“TN”:“16% VAT”,“TR”:16.00,“TT”:1},{“AC”:false,“AT”:16,“RN”:2,“TN”:“2% - CTL”,“TR”:2.00,“TT”:2}]”,
“OrderTags”: “”,
“OrderStates”: “[{“D”:”\/Date(1639889124475+0300)\/",“OK”:“000000”,“S”:“Submitted”,“SN”:“Status”,“SV”:"",“U”:1},{“D”:"\/Date(1639885785037+0300)\/",“OK”:“000000”,“S”:“Active”,“SN”:“DStatus”,“SV”:"",“U”:1},{“D”:"\/Date(1639889123258+0300)\/",“OK”:“000000”,“S”:“NotPrinted”,“SN”:“KDStatus”,“SV”:"",“U”:1},{“D”:"\/Date(1639889123305+0300)\/",“OK”:“001001”,“S”:“Void”,“SN”:“GStatus”,“SV”:"",“U”:1}]"
}Preformatted text
TO get this type of data, i can be able to get the names and values i just want the items to be nested in a single json.
Preformatted text
{“items”:[
{“MenuItemName”:“SINGLETON”,“Quantity”:“4.000”,“Price”:“400.00”},
{“MenuItemName”:“SODA”,“Quantity”:“2.000”,“Price”:“200.00”}
]
}Preformatted text