Closed GoogleCodeExporter closed 9 years ago
This is partially fixed and will be release with the next version of Gson. r310
handles deserializing a string value into a long, int, byte, boolean, etc.
As for the JavaScript long support, there is no 32 bit restriction in the JSON
specification, but it probably makes sense to add a method to the GsonBuilder
class
that will construct a Gson instance which serializes "long" fields as string
(i.e.
quoted numbers) instead of a number field.
Original comment by joel.leitch@gmail.com
on 17 Dec 2008 at 4:45
Added ability for client to configure Gson to output all long (and Long) fields
as
Strings. Change made in r352.
Original comment by joel.leitch@gmail.com
on 28 Dec 2008 at 3:41
Original issue reported on code.google.com by
dws...@gmail.com
on 16 Dec 2008 at 5:40