how to assign same value of a key to 2 different keys in output JSON jolt code example
Example: how to assign same value of a key to 2 different keys in output JSON jolt
[
{
"operation": "shift",
"spec": {
"survey": {
"key": {
"@": [ "a.b.firstProperty", "a.b.secondProperty" ],
"#Constant": [ "a.b.thirdProperty", "a.b.fourthProperty" ]
}
}
}
}
]