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
Using the JSONata playground example (see below) I get different output when using JSONata and Data Rambler
JSONata
Data Rambler
With the expression Account.Order.[OrderID, [Product.'Product Name']]
Account.Order.[OrderID, [Product.'Product Name']]
JSONata gives:
[ [ "order103", [ "Bowler Hat", "Trilby hat" ] ], [ "order104", [ "Bowler Hat", "Cloak" ] ] ]
However Data Rambler gives flattening the result:
flattening the result
[ "order103", "Bowler Hat", "Trilby hat", "order104", "Bowler Hat", "Cloak" ]
The expected output from the expression is that of the JSONata output above
Input source:
{ "Account": { "Account Name": "Firefly", "Order": [ { "OrderID": "order103", "Product": [ { "Product Name": "Bowler Hat", "ProductID": 858383, "SKU": "0406654608", "Description": { "Colour": "Purple", "Width": 300, "Height": 200, "Depth": 210, "Weight": 0.75 }, "Price": 34.45, "Quantity": 2 }, { "Product Name": "Trilby hat", "ProductID": 858236, "SKU": "0406634348", "Description": { "Colour": "Orange", "Width": 300, "Height": 200, "Depth": 210, "Weight": 0.6 }, "Price": 21.67, "Quantity": 1 } ] }, { "OrderID": "order104", "Product": [ { "Product Name": "Bowler Hat", "ProductID": 858383, "SKU": "040657863", "Description": { "Colour": "Purple", "Width": 300, "Height": 200, "Depth": 210, "Weight": 0.75 }, "Price": 34.45, "Quantity": 4 }, { "ProductID": 345664, "SKU": "0406654603", "Product Name": "Cloak", "Description": { "Colour": "Black", "Width": 30, "Height": 20, "Depth": 210, "Weight": 2 }, "Price": 107.99, "Quantity": 1 } ] } ] } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Using the JSONata playground example (see below) I get different output when using
JSONata
andData Rambler
With the expression
Account.Order.[OrderID, [Product.'Product Name']]
JSONata gives:
However Data Rambler gives
flattening the result
:The expected output from the expression is that of the JSONata output above
Input source:
The text was updated successfully, but these errors were encountered: