discomarathon / google-gson

Automatically exported from code.google.com/p/google-gson
0 stars 0 forks source link

make JsonPrimitive.getAsObject a public method #111

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In json-rpc, it's necessary to determining actual type of a JsonPrimitive, 
such as Interger, Long or BigInterger. This information can be make available 
by add several is*** function, but make JsonPrimitive.getAsObject a public 
method would be more easily. 

Original issue reported on code.google.com by yufanyu...@gmail.com on 28 Mar 2009 at 1:33

GoogleCodeExporter commented 9 years ago
Never mind.
It's the same as using getAsNumber().
Please close this issue.

Original comment by yufanyu...@gmail.com on 8 Apr 2009 at 2:07

GoogleCodeExporter commented 9 years ago
Closed per the request of yufanyufan

Original comment by inder123 on 8 Apr 2009 at 5:56