Simulant
|
045324ab42
|
Revert "#863 replace short switch statements with if-else"
This reverts commit c010033591c192a0821bdd8fe23bc61cdc6fe738.
|
2024-03-10 21:08:10 +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 df0e3e9ab73d99f1256055a17bd86c8a1a000b59)
|
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
|
06778bd2d9
|
#863 compute initial capacity for StringBuilderWriter
|
2024-02-24 21:21:06 +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 |
|
Sean Leary
|
f164b8c597
|
cleanup-after-commit reverted pom.xml version 8 change and tabs in cdl. Updated JavaDocs in cdl
|
2024-02-13 20:08:54 -06:00 |
|
Sean Leary
|
6358b7f681
|
Merge pull request #854 from jscrdev/fixed-javadocs
Enhanced documentation for Java classes
|
2024-02-13 09:05:48 -06:00 |
|
mameri
|
72214f1b43
|
add ability for custom delimiters
|
2024-02-09 11:52:18 +01:00 |
|
Valentyn Kolesnikov
|
99c84fdf3a
|
Enhanced documentation for Java classes
|
2024-02-07 14:43:44 +02:00 |
|
Keaton
|
7915d8518f
|
Merge branch 'stleary:master' into feature-disable-whitespace-trim
|
2024-01-18 09:17:26 +02:00 |
|
Sean Leary
|
55b824d4c4
|
Merge pull request #846 from stleary/cleanup-and-merge-tests
Cleanup warnings and merge new unit tests
|
2024-01-04 08:52:02 -06: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 |
|
Thomas Gress
|
23ac2e7bca
|
improved annotation search performance
|
2023-12-29 12:28:24 +01:00 |
|
sk02241994
|
7701f21839
|
Adding comments
|
2023-12-24 11:39:26 +05:30 |
|
sk02241994
|
ffd48afa42
|
Review comments
|
2023-12-23 10:53:54 +05:30 |
|
sk02241994
|
abea194120
|
Adding JSONParserConfiguration for configuring the depth of nested maps
|
2023-12-22 15:47:55 +05:30 |
|
sk02241994
|
6d811607dd
|
Resolving issue #743
- Recursive depth issue found in JSONObject
- Recursive depth issue found in JSONArray
|
2023-12-22 15:47:54 +05:30 |
|
Keaton Taylor
|
4d6de8c00a
|
Remove unused constructor and add comment above other constructor
|
2023-12-13 14:04:05 +02:00 |
|
Keaton Taylor
|
e430db40aa
|
Update XMLParserConfiguration to not be static and add a comment about the use of shouldTrimWhiteSpace
|
2023-11-30 10:05:54 +02:00 |
|
Aditya Purohit
|
aba82d9cc4
|
isNumericChar() - switch comparison order
|
2023-11-28 02:56:10 +00:00 |
|
Keaton Taylor
|
09f35372d4
|
Update clone() method so that default constructor does not need to be changed
|
2023-11-22 11:14:50 +02:00 |
|
Keaton Taylor
|
30f5b2de79
|
Add a config flag to disable whitespace trimming
|
2023-11-20 17:50:22 +02:00 |
|
Aditya Purohit
|
7f1cb8bf62
|
refactor: decompose condition of digit checks by using extra method 'isNumericChar(...)' in NumberConversionUtil.
|
2023-11-19 09:51:44 -04:00 |
|
Aditya Purohit
|
75419e3f25
|
refactor: introduce explaining variable 'indentationSuffix' in XML.toString()
|
2023-11-19 09:21:05 -04:00 |
|
Aditya Purohit
|
097a401f3f
|
refactor: rename variable boolean 'b' to 'isEndOfPair' in CookieList.toString()
|
2023-11-19 09:11:32 -04:00 |
|
Sean Leary
|
783d298f99
|
Merge pull request #814 from rudrajyotib/issue813
Refactor duplicate code for stringToNumber() in JSONObject, JSONArray, and XML
|
2023-10-31 17:40:17 -05:00 |
|
rudrajyoti biswas
|
8ec822c575
|
#748 - PR comments - follow convention of configuration builder.
|
2023-10-28 07:36:31 +05:30 |
|
rudrajyoti biswas
|
c05d7058ff
|
#748 - javadoc updated for methods.
|
2023-10-27 17:17:20 +05:30 |
|
rudrajyoti biswas
|
c6ec2f0e4c
|
#748 - close XML tag explicitly for empty tags with configuration.
|
2023-10-25 23:23:00 +05:30 |
|
rudrajyoti biswas
|
5539722c69
|
#813 - address PR review comment - brought down visibility.
|
2023-10-23 23:03:35 +05:30 |
|
rudrajyoti biswas
|
98b79ae7bf
|
#813 - moved number conversion related common changes to utility static method.
|
2023-10-23 19:16:25 +05:30 |
|
Rudrajyoti Biswas
|
04a4c5a3ec
|
Merge branch 'stleary:master' into master
|
2023-10-21 12:29:31 +00:00 |
|
rudrajyoti biswas
|
2374766018
|
#790 - Update XML with changes for string to number conversion.
For now the code remains duplicated in JSON and XML parsers.
Unit test cases updated to comply with number expectations.
|
2023-10-19 14:07:53 +05:30 |
|
rudrajyoti biswas
|
1d0775cce7
|
Revert changes with feature and refactor together.
|
2023-10-19 10:28:11 +05:30 |
|
theKnightsOfRohan
|
f074bed732
|
fix(ParserConfiguration): add <T> params to docs
|
2023-10-16 17:48:03 -07:00 |
|
rudrajyoti biswas
|
7b2677ac5a
|
#790 - Update XML with changes for string to number conversion.
Moved the code logic to a common utility to de-duplicate.
|
2023-10-14 10:05:36 +05:30 |
|
rudrajyoti biswas
|
56cb5f84c4
|
#653 - review comments updated.
|
2023-10-12 11:03:13 +05:30 |
|
rudrajyoti biswas
|
0cdc38ac24
|
#653 - review comments updated.
|
2023-10-12 00:53:36 +05:30 |
|
Rudrajyoti Biswas
|
d5277b126b
|
Merge branch 'stleary:master' into master
|
2023-10-11 19:17:21 +00: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 |
|
rudrajyoti biswas
|
1a38879c90
|
#653 - optLong vs getLong inconsistencies
For exponential decimal conversion, number is not touched.
Leading zeros removed from numeric number strings before converting to number.
|
2023-10-06 21:34:00 +05:30 |
|
Sean Leary
|
79af389f7a
|
Merge pull request #774 from mccartney/removing-synchronized
Removing excessive synchronization
|
2023-10-04 07:40:10 -05:00 |
|
Sean Leary
|
beb2fb5706
|
Merge pull request #772 from eamonnmcmanus/complexkey
Disallow nested objects and arrays as keys in objects.
|
2023-10-01 11:04:40 -05:00 |
|
Grzegorz Olędzki
|
61bb60e752
|
Removing excessive synchronization
|
2023-09-30 21:36:11 +02:00 |
|