[
{
"operation": "shift",
"spec": {
"*": { //stands for "ItemInternalId"
"1": { // the level of the second component of the array in which index starts from zero
"#16": "&2" // the fixed value might be assigned by prepending the value with "#" on the left-hand-side, &2 represents going the tree two levels up to grab the tag of the array
},
"*": "&1"//else case. The &1 on the right-hand-side represents going the tree one level up to grab the tag of the array
}
}
}
]
1条答案
按热度按时间bpsygsoo1#
不需要使用具有这些函数的modify转换,而是使用shift转换规范以及相应组件的索引,例如
假设您的输入是
http://jolt-demo.appspot.com/站点上的***演示***是