Merge branch 'stleary:master' into complexkey

This commit is contained in:
Éamonn McManus
2023-09-28 11:33:08 -07:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -3328,6 +3328,7 @@ public class JSONObjectTest {
* Sample test case from https://github.com/stleary/JSON-java/issues/531
* which verifies that no regression in double/BigDecimal support is present.
*/
@Test
public void testObjectToBigDecimal() {
double value = 1412078745.01074;
Reader reader = new StringReader("[{\"value\": " + value + "}]");