google-code-export / jwebsocket

Automatically exported from code.google.com/p/jwebsocket
1 stars 3 forks source link

Support for Long data type in Token #151

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
there is no Token.serLong method
I suspect due limitations in JSON or other formats?
can it be somehow emulated? (similar to GWT long emulation for JavaScript)
instead of manually splitting the long and passing it as 2 integers somehow

Original issue reported on code.google.com by eliasbal...@gmail.com on 11 Jan 2012 at 2:27

GoogleCodeExporter commented 9 years ago
meanwhile, on second thought, a simple but effective workaround is passing the 
Long value as String instead and converting on other side

still, I believe a better approach is required

Original comment by eliasbal...@gmail.com on 11 Jan 2012 at 2:43