For following example if Number exceeds 2147483647, accessing @(1,Number) breaks the transormation outputting wrong integer key
Input:
{
"Student": {
"Number": 2147483648,
"KEY": "label",
"VALUE": "test"
}
}
Jolt Spec:
[
{
"operation": "shift",
"spec": {
"Student": {
"VALUE": "Student.data.@(1,Number).@(1,KEY)"
}
}
}
]
Output:
{
"Student" : {
"data" : {
"-2147483648" : {
"label" : "test"
}
}
}
}
For following example if Number exceeds 2147483647, accessing @(1,Number) breaks the transormation outputting wrong integer key
Input:
Jolt Spec:
Output: