We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6ab6f06 + a76d726 commit 474f285Copy full SHA for 474f285
JSONObject.java
@@ -1633,7 +1633,8 @@ public static Object wrap(Object object) {
1633
|| object instanceof Short || object instanceof Integer
1634
|| object instanceof Long || object instanceof Boolean
1635
|| object instanceof Float || object instanceof Double
1636
- || object instanceof String) {
+ || object instanceof String || object instanceof BigInteger
1637
+ || object instanceof BigDecimal) {
1638
return object;
1639
}
1640
0 commit comments