it's been a long time since I've been back here but glad to be back at the same time. I've recently been playing around with Construct 2 in the hope of creating a very simple RPG mechanic. But, I hit a roadblock when I found that I couldn't seem to get C2 to respond to the JSON format that I was passing .
For example the following just wasn't getting me anywhere (as an array of objects):
- Code: Select all
"string": "This is a string that belongs to the id of 1."
"string": "This is another string that belongs to the id of 2."
After some searching I found a couple of examples, so I could probably work with those. But I have a couple of questions, one being, why does Construct require a special format when it comes to JSON exactly? Or, is it the simple case that I'm just not doing it right by loading as Ajax and parsing it in to an array or dictionary?
And secondly, is there some form of reference in the manual that I've overlooked that goes in to detail about it?
My apologies if I've overlooked the obvious, but I'm not having too much luck and wondered if anyone else had a similar issue.