How to send SFSObject with Array values like IntArray ...
-
- Posts: 1
- Joined: 20 Jun 2013, 09:26
How to send SFSObject with Array values like IntArray ...
I'm using HTML5 Client API. I want to send Array Data and server'll parse to SFSObject with Array values (like IntArray, LongArray in java). However, server parse data to SFSArray. Please help me!
Re: How to send SFSObject with Array values like IntArray ..
Using HTML5 / Javascript there is not such thing as an int, because the language doesn't support static typing.
Therefore typed arrays will always convert to a generic Array which is the SFSArray.
Just to clarify, the SFSArray is the equivalent of a Javascript Array where you can put any object of any type, so it is a perfect match.
Therefore typed arrays will always convert to a generic Array which is the SFSArray.
Just to clarify, the SFSArray is the equivalent of a Javascript Array where you can put any object of any type, so it is a perfect match.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Return to “SFS2X HTML5 / JavaScript API”
Who is online
Users browsing this forum: No registered users and 17 guests