Hello everyone,
Sorry for this beginner’s question, but I just can’t find a solution.
I would really appreciate some help on how to properly work with JSON.
I can’t seem to find any information on how to solve this — neither in the mindStudio guides, YouTube tutorials, nor other sources.
How can I process a JSON array item by item?
Examples:
• I have an array of URLs that I want to crawl one by one.
• JSON arrays containing image prompts are generated from articles, and I want to create images from them.
There are countless use cases where this is necessary.
I can access the first item with
{{get myJsonVariable “$.items[0].name”}}
(or by changing the number to access a different item), but I can’t seem to use a variable for that number.
for example: {{get myJsonVariable “$.items[{{counter}}].name”}}
this wont work.
Does anyone have any ideas for me?
Thank you so much.