This project has moved and is read-only. For the latest updates, please go here.

Deserializing a list or Array

Mar 8, 2012 at 10:22 PM

I'm writting a multiplayer game which uses Node.js as game server. The Game sends to the Server a serialized PlayerObject. The object is deserialized on the server and pushed to array of these objects. 

I wanted to send this array back to The Game. How can I serialize this array at server side so the can deserialize as PlayerObject[] or List<PlayerObject>.

Note. If i gonna send a single player object from the server it works great.