【发布时间】:2019-03-08 11:09:11
【问题描述】:
我有如下输入,
输入:
{
"a": 1,
"b": 2
}
规格:
[
{
"operation": "shift",
"spec": {
"a": {
"@(2,b)": {
"#Matched": "result"
},
"*": {
"#Not Matched": "result"
}
}
}
}]
输出:
{
"result" : [ "Matched", "Not Matched" ]
}
预期:
{
"result" : "Not Matched"
}
谁能建议我照常工作。
【问题讨论】:
标签: json transformation jolt