I have below input
{
"error1": [
{
"store": "1201",
"DocumentNumber": "FF15974433790786634518"
},
{
"store": "1201",
"DocumentNumber": "FF15974433790786634519"
},
{
"store": "1201",
"DocumentNumber": "FF15974433790786634520"
},
{
"store": "1202",
"DocumentNumber": "FF15974433790786634520"
}
],
"error2": [
{
"store": "1201",
"DocumentNumber": "FF15974433790786634518"
}],
error3:[]
}
i want to export following result
{
"error1": [{
"store": "1201",
"DocumentNumber": ["FF15974433790786634518", "FF15974433790786634519", "FF15974433790786634520"]
},
{
"store": "1202",
"DocumentNumber": ["FF15974433790786634520"]
}
],
"error2": [{
"store": "1201",
"DocumentNumber": ["FF15974433790786634518"]
}]
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…