mrAlbertZwolleM
BuildShip2y ago
4 replies
mrAlbertZwolle

Loop question

I am very new to interact with Buildship. Hopefully someone can help. 🙂

I have this JSON array with two records. I use this to make a loop.
{
"Chapters": [
{
"ChapterTitle": "Chapter 1",
"Type": "[Type]",
"Description": "Description"
},
{
"ChapterTitle": "Chapter 2",
"Type": "[Type]",
"Description": "Description"
}
]
}

Inside the loop I try to use the Chaptertitle and the Description. See picture.
I don't understand why I can't fetch the information.
It gives back 'undefined'.
Schermafbeelding_2024-03-16_om_16.10.58.png
Solution
I fixed it myself. Changed the JSON to:
[
{
"ChapterTitle": "Chapter 1",
"Type": "[Type]",
"Description": "Description"
},
{
"ChapterTitle": "Chapter 2",
"Type": "[Type]",
"Description": "Description"
}
]
Was this page helpful?