我在实现Jolt Spec以转换此输入时遇到了一个问题.
input:个
[
{
"organizationName": "TOTOLAND",
"organizationUid": "123456789",
"usageByLicenseAndProduct": [
{
"productType": "VSPC",
"licenseEdition": "Enterprise Plus",
"workloadUsage": [
{
"workloadType": "VAC_Workstation_Agent"
},
{
"workloadType": "VAC_Server_Agent"
}
]
}
]
},
{
"organizationName": "TOTOLAND2",
"organizationUid": "456789",
"usageByLicenseAndProduct": [
{
"productType": "VSPC",
"licenseEdition": "Enterprise Plus",
"workloadUsage": [
{
"workloadType": "VAC_Workstation_Agent"
}
]
},
{
"productType": "BackupAndReplication",
"licenseEdition": "Enterprise Plus",
"workloadUsage": [
{
"workloadType": "VAC_Workstation_Agent"
}
]
}
]
}
]
Output:个
[
{
"organizationName": "TOTOLAND",
"organizationUid": "123456789",
"productType": "VSPC",
"licenseEdition": "Enterprise Plus",
"workloadType": "VAC_Workstation_Agent"
},
{
"organizationName": "TOTOLAND",
"organizationUid": "123456789",
"productType": "VSPC",
"licenseEdition": "Enterprise Plus",
"workloadType": "VAC_Server_Agent"
},
{
"organizationName": "TOTOLAND2",
"organizationUid": "456789",
"productType": "VSPC",
"licenseEdition": "Enterprise Plus",
"workloadType": "VAC_Workstation_Agent"
}
]
我通过jolt-demo.apppot.comtry 了多种Jolt规格,但没有得到令人满意的转换……
你能帮我一下吗? 非常感谢! 加田