JSONata grouping in new objects
I'm looking for a solution of grouping elements from a flat hierarchy into a encapsulated one with the help of JSONata. Given that I have the following input data: [ { "restaurantName": "Pizza Place", "restaurantId": "1", "dishName": "Margherita Pizza", "dishId":…