0
Iam新的顛簸。 你能告訴我怎樣才能轉換下面的json消息與數組基於位置在下面的輸出json消息使用jolt。Json根據位置使用顛簸進行數組轉換
輸入消息:
[
["20084541", "12020584", "Frohmann Dov", "2017", "2", "75", "T7", "DFZ", "CES", "", "", "0", "90", "2010"],
["20084541", "12020584", "Frohmann Dov", "2017", "3", "21", "T7", "DFZ", "CES", "", "", "0", "90", "2010"],
]
輸出消息:
[{
"policyReference": "20084541",
"insuredId": "12020584",
"insuredName": "Frohmann Dov",
"uwy": "2017",
"subLOB": "2",
"typeOfRisk": "75",
"aircraftcountryCode": "T7",
"aircraftId": "DFZ",
"manufacturerId": "CES",
"aircraftTypeCode": "",
"aircraftSubTypeCode": "",
"aircraftValueAmt": "0",
"aircraftWorkNo": "90",
"yearBuilt": "2010"
}, {
"policyReference": "20084541",
"insuredId": "12020584",
"insuredName": "Frohmann Dov",
"uwy": "2017",
"subLOB": "2",
"typeOfRisk": "75",
"aircraftcountryCode": "T7",
"aircraftId": "DFZ",
"manufacturerId": "CES",
"aircraftTypeCode": "",
"aircraftSubTypeCode": "",
"aircraftValueAmt": "0",
"aircraftWorkNo": "90",
"yearBuilt": "2010"
}]
任何幫助理解。
親愛的米洛,非常感謝的reply.it工作fine.Is有一個很好的教程瞭解顛簸?蔭無法找到太多的谷歌。 – Ravi
https://github.com/bazaarvoice/jolt/#-documentation(鏈接到幻燈片組,以及有很多文本的Javadocs)以及演示站點註釋的示例(http://jolt-demo.appspot.com)是我得到了什麼。 –