Passing array of JSON to data structure

i have a key in my data structure (called items) and its an aray of text

i also created a variable (ItemJSON) that is an array of json strings that im going to pass to this data structure

i pass it in my create json module like this

however i get this error, am i passing ItemJSON variable wrongly to the JSON module?

itemJSON is not an array of text. It is an array of collections each with a single property json

You can use the built-in function map to convert it into an array of text.

e.g.:

{{ map(16.itemJSON; json) }}

For more information, see https://www.make.com/en/help/functions/array-functions#map-complex-array--key--key-for-filtering---possible-values-for-filtering-separated-by-a-comma--

Links

Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too —

General

Help Center Basics

Articles & Videos

2 Likes

@samliew
thank you

please check my follow up question if possible , thanks

1 Like