suggestion on parsing this JSON access its values?

Get help using Construct 2

Post » Thu Dec 05, 2013 5:53 pm

exactly my point before.
B
5
S
1
Posts: 78
Reputation: 556

Post » Thu Dec 05, 2013 9:18 pm

There is no json plugin. One option is making your data match the format os some plugin's .toJSON expression then loading that back into the plugin. You can also use the "execute javascript" action and expressions of the browser object.

Here's a starting point:
https://dl.dropboxusercontent.com/u/5426011/examples20/json_parse.capx

It's then your responsibility to make sure you have inputted everything correctly otherwise you will get errors.

Refer to this tutorial for more info:
http://www.w3schools.com/json/json_eval.asp
B
92
S
32
G
106
Posts: 5,272
Reputation: 69,455

Post » Thu Dec 05, 2013 9:28 pm

yeah, sure, but moving to another product. haha
B
5
S
1
Posts: 78
Reputation: 556

Post » Thu Dec 05, 2013 9:51 pm

Haha indeed...

Anyway I wish you luck. A program with more stock gui manipulation may be helpful for your case. If you don't mind diving into coding I hear c# has nice gui capabilities and good gui designer to boot. C2 could likely do the kinds of programs you had in mind but as you may have noticed you'd have to make most of the gui stuff from scratch. Which isn't too bad since it gives you finer control of what it does.R0J0hound2013-12-05 22:02:02
B
92
S
32
G
106
Posts: 5,272
Reputation: 69,455

Post » Thu Dec 05, 2013 10:12 pm

the problem is, JSON is like so part of the internet, yet c2 developers doesn't get it.
B
5
S
1
Posts: 78
Reputation: 556

Previous

Return to How do I....?

Who is online

Users browsing this forum: luckyrawatlucky, nahima and 5 guests