【发布时间】:2021-11-08 03:53:31
【问题描述】:
输入:
{
"string": "putbackthespaces",
"indexes": [
3,
8,
12
]
}
输出:
{
"string": "put back the spaces"
}
我想在 payload.indexes 中的元素指定的特定索引处插入一个字符(在此特定示例中,将插入空格)。这里的问题是只能使用 mule 流和 dataweave 来完成转换。 谢谢!
【问题讨论】:
标签: dataweave anypoint-studio mulesoft