We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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" } } } }
The text was updated successfully, but these errors were encountered:
You can overcome the issue with a modify spec such as
[ { "operation": "modify-overwrite-beta", "spec": { "Student": { "Number": "=toString" } } }, { "operation": "shift", "spec": { "Student": { "VALUE": "&1.data.@1,Number.@1,KEY" } } } ]
Sorry, something went wrong.
No branches or pull requests
For following example if Number exceeds 2147483647, accessing @(1,Number) breaks the transormation outputting wrong integer key
Input:
Jolt Spec:
Output:
The text was updated successfully, but these errors were encountered: