I have this JSON file below that i want to import and display the text from it to a text box in construct. I think im on the right path but not sure. I could not find any basic tutorials on this. What am i doing wrong?
Project zip fileScreen shot
My JSON File
{
"title": "This is the title",
"introduction": "Welcome to this learning object, shithead!",
"questions" : [
{
"id": "question1",
"prompt": "What is your favorite color?",
"answers": [
{
"id": "answer1-1",
"text": "red",
"isCorrect": false
},
{
"id": "answer1-2",
"text": "blue",
"isCorrect": false
},
{
"id": "answer1-3",
"text": "green",
"isCorrect": true
}
]
},
{
"id": "question2",
"prompt": "What is the color of your underwear?",
"answers": [
{
"id": "answer2-1",
"text": "red",
"isCorrect": false
},
{
"id": "answer2-2",
"text": "blue",
"isCorrect": false
},
{
"id": "answer2-3",
"text": "green",
"isCorrect": true
}
]
}
]
}
[/code:1g6t3r3j]