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
quite often, we need to "move" fields like this:
{ x: 1, ---- move this arr:[ { ... }, --in here { ... } --and in here ] }
The command could be:
$moveField($, "x", "arr")
The "normal" jsonata way would be to use a variable / the parent operator in conjunction with $merge which can be a bit lengthy
The text was updated successfully, but these errors were encountered:
if "arr" is a regular object this must work as well of course
Sorry, something went wrong.
$flatten already does something similar
introduce a moveField jsonata function #126
eb1ec60
aeberhart
No branches or pull requests
quite often, we need to "move" fields like this:
The command could be:
The "normal" jsonata way would be to use a variable / the parent operator in conjunction with $merge which can be a bit lengthy
The text was updated successfully, but these errors were encountered: