JSON and Websocket

Discussion and feedback on Construct 2

Post » Sat Sep 28, 2013 10:20 am

Will C2 ever support JSON arrays (or does it already? I haven't found it) Also if JSON is supported, will I be able to send arrays over Websockets?
B
10
S
2
Posts: 94
Reputation: 1,536

Post » Sat Sep 28, 2013 1:31 pm

You can send an array over a WebSocket by using its AsJSON expression.
Scirra Founder
B
387
S
230
G
87
Posts: 24,249
Reputation: 192,250

Post » Sat Sep 28, 2013 2:47 pm

Oh ok, will this allow the C2 app to recieve JSON too?
B
10
S
2
Posts: 94
Reputation: 1,536

Post » Sat Sep 28, 2013 5:54 pm

Here is the Manual entry, you can see "Load JSON" There.

https://www.scirra.com/manual/108/array

or in storage context:
https://www.scirra.com/manual/120/webstorageParadox2013-09-28 18:00:09
B
226
S
60
G
33
Posts: 902
Reputation: 39,989


Return to Construct 2 General

Who is online

Users browsing this forum: Brendan2007 and 8 guests