support BigInteger and BigDecimal

This commit is contained in:
stleary 2015-06-20 16:20:00 -05:00
parent b39ccc2a67
commit a76d7262d1

View File

@ -1633,7 +1633,8 @@ public class JSONObject {
|| object instanceof Short || object instanceof Integer
|| object instanceof Long || object instanceof Boolean
|| object instanceof Float || object instanceof Double
|| object instanceof String) {
|| object instanceof String || object instanceof BigInteger
|| object instanceof BigDecimal) {
return object;
}