阅读背景:

如何防止Gson将整数表示为浮点数

来源:互联网 

Gson has some odd behavior when I try to convert a string to json. The code below transforms string draft into json responses. Is there a way to prevent gson from adding the '.0 to all integer values?Gson has some odd behavior when I try to conver




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: