The JSON object structure :
<code>{"Questions":
[{"Question": "Blah",
"Answer": "Blah"},
{"Question": "Blah",
"Answer": "Blah"},
{"Question": "Blah",
"Answer": "Blah"}]
}
</code>
<code>{"Questions":
[{"Question": "Blah",
"Answer": "Blah"},
{"Question": "Blah",
"Answer": "Blah"},
{"Question": "Blah",
"Answer": "Blah"}]
}
</code>
{"Questions":
[{"Question": "Blah",
"Answer": "Blah"},
{"Question": "Blah",
"Answer": "Blah"},
{"Question": "Blah",
"Answer": "Blah"}]
}
This is the JSON object structure im getting from a prompt, How would I go about mapping over this and saving it into an array. Any help would be greatly appreciated!
I tried looking for some info about this on google but I keep getting stuck
New contributor
Hi im Purge is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.