Load or save JSON

Get help using Construct 2

Post » Tue May 14, 2013 8:34 pm

I was hoping to learn more about JSON by converting arrays and dictionaries to text using .AsJSON but nothing is happening, the text field seems to be blank.

Also my brother had an old document that loaded JSON into dictionaries he created early april 2013, its not working at all and he can't seem to fix it. Not sure if this is a bug or we're just going about something wrong.

Thanks.
B
4
Posts: 8
Reputation: 341

Post » Tue May 14, 2013 8:52 pm

Here's an example of what i'm trying to do, the text field appears completely blank.

B
4
Posts: 8
Reputation: 341

Post » Tue May 14, 2013 9:54 pm

Is the text object big enough to show all the contents?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Tue May 14, 2013 10:09 pm

I had this problem once and what Ashley said was exactly what was happening to me hahaha, it pissed me off so much.
B
106
S
35
G
37
Posts: 798
Reputation: 25,215

Post » Tue May 14, 2013 10:09 pm

Hawt damn did it! the text field was indeed too small. Thanks so much directly pinpointing the problem. I am truly sorry for assuming it may have been a bug.

Here's a victory screenshot of the program working to celebrate!



On another note by brother got his project working, so booyeah! Big shoutout to the whole Construct 2 team for this awesome program!
B
4
Posts: 8
Reputation: 341


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, abdalghani, Ethan, Marxally, Naightwolf and 28 guests