Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 474f285

Browse filesBrowse files
committed
Merge branch 'big-numbers' of https://github.com/douglascrockford/JSON-Java into local-big-numbers
2 parents 6ab6f06 + a76d726 commit 474f285
Copy full SHA for 474f285

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Collapse file

‎JSONObject.java‎

Copy file name to clipboardExpand all lines: JSONObject.java
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1633,7 +1633,8 @@ public static Object wrap(Object object) {
16331633
|| object instanceof Short || object instanceof Integer
16341634
|| object instanceof Long || object instanceof Boolean
16351635
|| object instanceof Float || object instanceof Double
1636-
|| object instanceof String) {
1636+
|| object instanceof String || object instanceof BigInteger
1637+
|| object instanceof BigDecimal) {
16371638
return object;
16381639
}
16391640

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.