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'.
] } 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'.
Solution:Jump to solution
I fixed it myself. Changed the JSON to:
[
{
"ChapterTitle": "Chapter 1",
"Type": "[Type]",...
2 Replies
any one?
Solution
I fixed it myself. Changed the JSON to:
[
{
"ChapterTitle": "Chapter 1",
"Type": "[Type]",
"Description": "Description"
},
{
"ChapterTitle": "Chapter 2",
"Type": "[Type]",
"Description": "Description"
}
]