Open 953077065 opened 2 years ago
@953077065 This 'spec' can convert a single json into a json array. If you want to implement time calculation, you'd better write a custom implementation yourself. It is more difficult to use the existing implementation.
[
{
"operation": "shift",
"spec": {
"ID": "data.ID",
"*": {
"@": "data.&1"
},
"I*": {
"@": "DATA"
}
}
}, {
"operation": "shift",
"spec": {
"DATA": {
"*": {
"@2": {
"data": {
"*": {
"@": "[#5].&1"
}
}
},
"@": "[#2].&2"
}
}
}
}
]
Hi~ I'd like to transform json formart and calculate the data_time , how can I do this ? here is the source and the target json text: Source:
Target: