79292341

Date: 2024-12-18 20:03:52
Score: 0.5
Natty:
Report link

To make the JSONata expression always return an array, you need to add square brackets somewhere in the path, like so:

"Items": "{% $states.input.object_keys[Size>0].Key[] %}"

Link to JSONata playground: https://jsonatastudio.com/playground/f789749e

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