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
399
S
236
G
89
Posts: 24,521
Reputation: 195,375

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
239
S
62
G
33
Posts: 903
Reputation: 40,562


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 17 guests