I have a JSON that looks like this :
{
"Level1": {
"Level2": {
"val1": "Test",
"val2": "Val"
}
}
}
When I apply the followng Jolt shift transformation to this :
[{
"operation": "shift",
"spec": {
"Level1": {
"Level2": {
"val1": "val001",
"val2": "val002"
}
}
}
}]
I get the folliwng result :
{
"val001": "Test",
"val002": "Val"
}
Why cant I see the Level1, Level2 in the output? Please an someone help, I want to see that in the output too similar to whats the input.