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
414
S
245
G
92
Posts: 25,205
Reputation: 200,351

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
255
S
65
G
34
Posts: 907
Reputation: 41,611


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 2 guests