Commit Graph

20 Commits

Author SHA1 Message Date
Yuki Matsuhashi 039f331d7d Add comment for empty test constructor 2026-03-13 01:54:58 +09:00
Yuki Matsuhashi 94e340002b Ignore static fields in JSONObject.fromJson() 2026-03-13 01:23:59 +09:00
AbhineshJha 20f5200000 Fix: Support Java record accessors in JSONObject 2025-11-01 19:33:29 +05:30
sk02241994 c4c2beb874 Limiting implemetation by removing the new classes. 2025-10-16 14:19:19 +11:00
sk02241994 0521928463 - Added implementation for Enum and Map
- Moving the CustomClass to data folder.
- Removing JSONBuilder.java
- Moving the implementation of JSONBuilder to JSONObject.
2025-10-13 12:39:14 +11:00
Sean Leary 5ddb8c3d35 cleanup-and-merge-tests: fix warnings, set gradlew permissions, enable unchecked warnings in maven 2023-12-30 16:30:19 -06:00
Madjosz c93014cb53 add validity check for JSONObject constructors
* fixes #713
* document JSONException in JavaDoc
* remove unused Comparable<T> boundary to reuse GenericBean in test
2023-10-07 09:38:54 +02:00
Liam Miller-Cushon 812955e39d Use IdentityHashSet for cycle detection
Fixes https://github.com/stleary/JSON-java/issues/650
2021-11-26 20:07:21 -05:00
Zach fb96e870a9 add test case and modified old ones 2021-11-17 20:00:12 -06:00
Zach 1ffcf3915c successful test 2021-11-17 19:35:53 -06:00
Zach 4565bddcbb data class for recursive test 2021-11-17 17:23:40 -06:00
John Aylward 4e0faebe62 fix javadoc errors that prevent compilation in Eclipse 2021-07-22 22:54:46 -04:00
stleary c63e78bbc7 initial commit 2020-07-18 17:14:39 -05:00
John J. Aylward 56d33b8061 changes number parsing to use BigDecimal as the backing type
* updated tests to support BigDecimal as the backing type for numbers
* updated some test resource handling to java7 try-with-resources format
* cleaned up some other minor compiler warnings
2020-05-26 10:10:36 -04:00
John J. Aylward 193a3823b5 new test cases to support bean annotation 2018-03-11 16:56:07 -04:00
John J. Aylward 38d11227ee Adds exception tests 2017-07-09 19:05:00 -04:00
John J. Aylward e94783f91b Updates javadocs 2017-07-09 18:19:27 -04:00
John J. Aylward 7bc8f41023 Add override of the generic getter to generate a Bridge method. 2017-07-09 18:10:09 -04:00
John J. Aylward 49117f33dc Adds new tests for testing bean->JSONObject mapping 2017-07-09 17:57:46 -04:00
John J. Aylward 0e3f23d7a1 reorganize classes so test data is separate from test cases 2017-07-09 16:48:01 -04:00