79129314

Date: 2024-10-26 19:25:13
Score: 1.5
Natty:
Report link
Account.Order {
    `Product Name`: $.{
      "Price": Price,
      "Qty": Quantity,
      "ProductID": ProductID
    }
} ~> $each(function($v) {
  {
    "Price": $sum($v.Price),
    "Qty": $v[0].Qty,
    "ProductID": $v[0].ProductID
  }
})

Playground link: https://jsonatastudio.com/playground/b99c58af

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Vlad Dimov