Can anyone help me with formatting?

I’m trying to format the following data:

[
    {
      "id": "123456789",
      "label": "123456789LB"
    },
    {
      "id": "123456",
      "label": "123456LB"
    },
    {
      "id": "1234567",
      "label": "1234567LB"
    }
  ]

to stay like this:

[
{ id: "123456789", label: "123456789LB" },
{ id: "123456", label: "123456LB" },
{ id: "1234567", label: "1234567LB" }
]

I tried to use map, but wappler doesn’t recognize it. I think I’m making a mistake somewhere.

However, it doesn’t matter the type of formatting, I just need it to stay that way as mentioned, I’ve been trying different formats for hours, but so far I haven’t been successful.

Community Page
Last updated: