mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-06 02:35:33 +08:00
Merge branch 'big-numbers' of https://github.com/douglascrockford/JSON-Java into local-big-numbers
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user