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
406
S
240
G
91
Posts: 24,771
Reputation: 197,558

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
243
S
63
G
33
Posts: 903
Reputation: 40,791


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 2 guests