0
我有发送记录在以下格式的CSV文件:分割分隔字符串和存储值dataweave
John,Smith,presentation|researcher|developer,[email protected],07891234567
我需要每个记录,并将它们映射到以下JSON清单对象:
[
{
"firstName": "John",
"surname": "Smith",
"skills":
[
"presentation",
"developer",
"researcher"
]
"email": "[email protected]",
"phone": "07891234567"
}
[
我的问题是,你如何分割地址文本字符串,并与骡子3.8.1使用Dataweave和变换消息组件的其他字段一起填充地址对象?
感谢