下面是JSON对象:
{
"trans-details": [
{
"customernum": "41700013",
"crmordernum": "SO-000048949",
"customerordernum": "Over delivery BRAZI",
"itemnumber": "A0002309953",
"status": 3,
"pagecount": 64,
"orderstatus": 3,
"requestedqty": 0
},
{
"customernum": "41700013",
"crmordernum": "SO-000049948",
"customerordernum": "Over delivery test ZA",
"itemnumber": "A0002309911",
"status": 3,
"pagecount": 64,
"orderstatus": 3,
"requestedqty": 0
}
]
}
预期输出:
{
"Header": {
"Pagenumber": "1",
"Countryid": "7002",
"First Page": "true",
"Last Page": "false",
"countryId": 675,
"dealerNumber": 675000,
"Total Pages": "64" //(PAGE COUNT)
},
"TRANS-DETAILS": [
{
"customernum": "41700013",
"crmordernum": "SO-000048949",
"customerordernum": "Over delivery BRAZI",
"itemnumber": "A0002309953",
"status": 3,
"orderstatus": 3,
"requestedqty": 0
},
{
"customernum": "41700013",
"crmordernum": "SO-000048949",
"customerordernum": "Over delivery BRAZI",
"itemnumber": "A0002309953",
"status": 3,
"orderstatus": 3,
"requestedqty": 0
}
]
}
"PAGECOUNT:64"
应该只显示在头部分,而不是在元素中。请帮助。谢谢
1条答案
按热度按时间liwlm1x91#
您可以使用以下转换规范