mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-02 11:05:28 -04:00
Merge branch 'big-numbers' of https://github.com/douglascrockford/JSON-Java into local-big-numbers
This commit is contained in:
commit
474f285cc8
@ -1633,7 +1633,8 @@ public class JSONObject {
|
|||||||
|| object instanceof Short || object instanceof Integer
|
|| object instanceof Short || object instanceof Integer
|
||||||
|| object instanceof Long || object instanceof Boolean
|
|| object instanceof Long || object instanceof Boolean
|
||||||
|| object instanceof Float || object instanceof Double
|
|| object instanceof Float || object instanceof Double
|
||||||
|| object instanceof String) {
|
|| object instanceof String || object instanceof BigInteger
|
||||||
|
|| object instanceof BigDecimal) {
|
||||||
return object;
|
return object;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user