您能协助我执行Jolt转换,将下面提供的JSON结构转换为所需的输出格式吗?我非常感谢您的指导或实现此转换的示例转换规范。非常感谢。
从JSON:
[
{
"doc_GUID": "ae5deb48-9807-11ef-aaeb-ec2a723f4399",
"items": [
{
"item_id": "00-00002475",
"type_of_goods": "RR"
},
{
"item_id": "00-00001243",
"type_of_goods": "TT"
},
{
"item_id": "00-00002997",
"type_of_goods": "AA"
}
]
},
{
"doc_GUID": "e83f9131-a034-11ef-aaeb-ec2a723f4399",
"items": [
{
"item_id": "00-00002828",
"type_of_goods": "YY"
},
{
"item_id": "00-000029971",
"type_of_goods": "EE"
}
]
}
]
对于这个结果:
[
{
"doc_GUID": "ae5deb48-9807-11ef-aaeb-ec2a723f4399",
"item_id": "00-00002475",
"type_of_goods": "RR"
},
{
"doc_GUID": "ae5deb48-9807-11ef-aaeb-ec2a723f4399",
"item_id": "00-00001243",
"type_of_goods": "TT"
},
{
"doc_GUID": "ae5deb48-9807-11ef-aaeb-ec2a723f4399",
"item_id": "00-00002997",
"type_of_goods": "AA"
},
{
"doc_GUID": "e83f9131-a034-11ef-aaeb-ec2a723f4399",
"item_id": "00-00002828",
"type_of_goods": "YY"
},
{
"doc_GUID": "e83f9131-a034-11ef-aaeb-ec2a723f4399",
"item_id": "00-000029971",
"type_of_goods": "EE"
}
]