Commit Graph
37 Commits
Author SHA1 Message Date
Simulant 96353de304 add badge to external hosted javadoc 2025-12-21 23:16:01 +01:00
Simulant 7da120e631 update CodeQL to v3 2025-07-01 22:57:36 +02:00
Simulant 5063d314a5 #984 extract method for annotation value check 2025-06-25 23:08:01 +02:00
Simulant 916fba5d39 #984 extract methods reducing cognitive complexity
for JSONObject#populateMap
2025-06-25 23:00:07 +02:00
Simulant 4c873a1db4 #947 use JSONParserConfiguration of JSONTokener in JSONObject and JSONArray constructor 2025-01-15 21:41:01 +01:00
Simulant 6631b80e8f #947 add new failing tests with JSONTokener having strict mode configuration 2025-01-15 21:38:46 +01:00
Simulant 9218f28db8 #928 add missing java dock for JSONParserConfiguration
(cherry picked from commit afd9a6fbb7)
2025-01-15 21:02:25 +01:00
Simulant 94341cd663 Revert "#928 add missing java dock for JSONParserConfiguration"
This reverts commit afd9a6fbb7.
2025-01-15 20:58:45 +01:00
Simulant afd9a6fbb7 #928 add missing java dock for JSONParserConfiguration 2025-01-15 20:55:13 +01:00
Simulant ad44a9274c add new test cases for JSONObject and JSONArray Constructors with JSONTokener and strict mode 2025-01-11 21:43:04 +01:00
Simulant 3b7ba07531 add test for invalid input on JSONTokener 2025-01-11 21:40:41 +01:00
Simulant 215f4268bf add Javadoc and rename parameters to speaking variable names 2025-01-11 21:35:36 +01:00
Simulant 0fcf352848 Revert "explain position information numbers in syntax exception"
This reverts commit d69d5e284b.
2024-03-27 20:36:35 +01:00
Simulant d69d5e284b explain position information numbers in syntax exception 2024-03-23 22:02:54 +01:00
Simulant f1c9d0787b add test cases for extended syntax error exception messages 2024-03-23 21:49:58 +01:00
Simulant 6c160b7d1a leave JSONTokener.toString unchanged 2024-03-22 12:08:06 +01:00
Simulant 30dc22790c extend syntax error information 2024-03-22 12:02:09 +01:00
Simulant b75da07545 #863 move instanceof Enum check back to original position 2024-03-10 23:21:47 +01:00
Simulant 6c35b08ad6 #863 make StringBuilderWriter public and move test 2024-03-10 23:20:09 +01:00
Simulant 60090a7167 add a test case for an enum implementing JSONString
(cherry picked from commit d17bbbd417)
2024-03-10 21:13:54 +01:00
Simulant 0c5cf18255 Revert "#863 improve performance of JSONTokener#nextString"
This reverts commit 63625b3c62.
2024-03-10 21:12:28 +01:00
Simulant 5974fc1a38 Merge branch 'master' into 863-improve-toString-performance-StringBuilderWriter 2024-03-10 21:10:21 +01:00
Simulant a3f15e5883 Revert "#863 replace usage of back() method in JSONObject parsing"
This reverts commit 5407423e43.
2024-03-10 21:08:31 +01:00
Simulant 045324ab42 Revert "#863 replace short switch statements with if-else"
This reverts commit c010033591.
2024-03-10 21:08:10 +01:00
Simulant eda08415ca Revert "#863 increase compiler stack size on build pipeline"
This reverts commit 6660e40915.
2024-03-10 21:05:22 +01:00
Simulant c010033591 #863 replace short switch statements with if-else 2024-03-05 22:12:57 +01:00
Simulant 5407423e43 #863 replace usage of back() method in JSONObject parsing 2024-03-05 22:11:24 +01:00
Simulant 63625b3c62 #863 improve performance of JSONTokener#nextString
replacing a switch-case statement with few branches
by if-else cases
2024-03-05 09:43:54 +01:00
Simulant f38452a00c add a comment explaining the ordering
(cherry picked from commit df0e3e9ab7)
2024-02-25 09:50:26 +01:00
Simulant 4f456d9432 #863 fix changed behaviour of changing order in writeValue with JSONString 2024-02-25 09:42:06 +01:00
Simulant d878c38d40 #863 reorder instanceof checks by assumed frequency 2024-02-24 22:36:14 +01:00
Simulant e2194bc190 #863 undo wrong optimisation, fixing failing test 2024-02-24 21:35:29 +01:00
Simulant d672b44a25 #863 add StringBuilderWriter unit test 2024-02-24 21:29:28 +01:00
Simulant 06778bd2d9 #863 compute initial capacity for StringBuilderWriter 2024-02-24 21:21:06 +01:00
Simulant 6660e40915 #863 increase compiler stack size on build pipeline 2024-02-23 22:02:35 +01:00
Simulant 0ff635c456 #863 improve formatting 2024-02-23 21:56:40 +01:00
Simulant 7c7a98da71 #863 use StringBuilderWriter to toString methods
resulting in a faster toString generation.
2024-02-23 21:48:25 +01:00