JsonData does not hold a double.
Posted: 25 Jul 2009, 10:36
Strange problem...
The client is not able to typecast data sent which is supposed to be double and disconnects.
For example, the server sends x = 23.0D as a double.
But when it arrives at the client, x = 23.
Now when you say, double x = (double)data["x"];
The client says JsonData does not hold a double and disconnects. I hope I am clear.
Help!!!!!
Thank you.
The client is not able to typecast data sent which is supposed to be double and disconnects.
For example, the server sends x = 23.0D as a double.
But when it arrives at the client, x = 23.
Now when you say, double x = (double)data["x"];
The client says JsonData does not hold a double and disconnects. I hope I am clear.
Help!!!!!
Thank you.