bazaarvoice / jolt

JSON to JSON transformation library written in Java.
Apache License 2.0
1.54k stars 328 forks source link

Jolt Unexpected Behaviour (Extracting value as a String not JSON) #1119

Open alphanout opened 2 years ago

alphanout commented 2 years ago

On [https://jolt-demo.appspot.com/#inception] I passed input as - { "key": "id" } and spec as - [ { "operation": "shift", "spec": { "key": "" } } ] then the output is "id"

So, is this expected or it's a bug. Just confirming but it's kind of solving my problem getting that value as a String not as a JSON object.