If there's a possibility that a decimal point numb...
# android
d
If there's a possibility that a decimal point number will be returned in your JSON, i'd suggest using double/float for that field. You can always check if it's a whole number by calling
number % 1 == 0
.