Ввод:
[{
"Store_id": "store_0",
"Item_id": "item_0",
"Quantity": "26",
"Date": "2019-05-01",
}, {
"Store_id": "store_0",
"Item_id": "item_0",
"Quantity": "17",
"Date": "2019-05-02"
}, {
"Store_id": "store_0",
"Item_id": "item_1",
"Quantity": "47",
"Date": "2019-05-01",
"CREATED_DT": "2019-10-09 20:45:47.0",
"CREATED_BY": "di_user"
}]
Требуется вывод:
[order: {
"Store_id": "store_0",
"Date": "2019-05-01"
items:[
{item: item_0 , Quantity:26}]},
{
"Store_id": "store_0",
"Date": "2019-05-02"
items:[
{item: item_0 , Quantity:17}]}