Simulant87
|
4e39d8ccf2
|
fix wrong comment update
|
2024-03-23 22:03:57 +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
|
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 d17bbbd4174b3d84f70a6f0fdce9edc10d846a1a)
|
2024-03-10 21:13:54 +01:00 |
|
Simulant
|
5974fc1a38
|
Merge branch 'master' into 863-improve-toString-performance-StringBuilderWriter
|
2024-03-10 21:10:21 +01:00 |
|
Sean Leary
|
dab29ec1d5
|
remove-jsonparserconfig-ctor - just use the withOverwriteDuplicateKey() method
|
2024-03-09 09:15:53 -06:00 |
|
XIAYM
|
05b0897f41
|
Merge branch 'stleary:master' into master
|
2024-03-09 22:19:30 +08:00 |
|
Sean Leary
|
d520210ea2
|
Added one more example to XMLTest clarifyCurrentBehavior()
|
2024-02-25 10:45:34 -06:00 |
|
Sean Leary
|
898288810f
|
add unit tests to clarify current behavior for JSONObject and XML
|
2024-02-24 21:07:12 -06:00 |
|
Simulant
|
d672b44a25
|
#863 add StringBuilderWriter unit test
|
2024-02-24 21:29:28 +01:00 |
|
Sean Leary
|
771c82c4eb
|
backing out recent changes to optLong, getLong. See #868
|
2024-02-24 13:07:51 -06:00 |
|
XIAYM-gh
|
af8cb376c2
|
Add tests (+ fix bugs) & missing javadoc
|
2024-02-19 18:58:25 +08:00 |
|
XIAYM
|
b314611230
|
Merge branch 'stleary:master' into master
|
2024-02-15 09:51:56 +08:00 |
|
XIAYM-gh
|
cb2c8d3962
|
Revert some unnecessary changes (mentioned in #840)
|
2024-02-14 17:53:58 +08:00 |
|
XIAYM-gh
|
10514e48cb
|
Implemented custom duplicate key handling
- Supports: throw an exception (by default), ignore, overwrite & merge into a JSONArray
- With tests, 4/4 passed.
|
2024-02-13 18:56:10 +08:00 |
|
mameri
|
72214f1b43
|
add ability for custom delimiters
|
2024-02-09 11:52:18 +01:00 |
|
Sean Leary
|
19dec1bb5f
|
Fixing JSONArrayTest testRecursiveDepthArrayFor1000Levels()
|
2024-02-02 13:11:37 -06:00 |
|
Keaton
|
7915d8518f
|
Merge branch 'stleary:master' into feature-disable-whitespace-trim
|
2024-01-18 09:17:26 +02:00 |
|
Sean Leary
|
86bb0a1a02
|
cleanup-and-merge-tests: pull in unit tests from #809
|
2023-12-30 17:00: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 |
|
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
|
dcac3bc18e
|
Adding test case for nested json with depth of 999, 1000, 1001
|
2023-12-22 15:47:54 +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
|
9ee10fdfc8
|
Merge remote-tracking branch 'origin/master' into feature-disable-whitespace-trim
|
2023-11-27 11:15:49 +02:00 |
|
Keaton Taylor
|
30f5b2de79
|
Add a config flag to disable whitespace trimming
|
2023-11-20 17:50:22 +02:00 |
|
Saiharshith Karuneegar Ramesh
|
1a61af8255
|
Fixed flaky tests in XMLTest.java
|
2023-11-13 13:25:30 -06:00 |
|
John J. Aylward
|
a3742acf74
|
Fixes #821
add ignore annotation to tests that may fail due to differences in machine resources and can't be controlled via the tests
|
2023-11-06 17:54:09 -05: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
|
1ceb70b525
|
#813 - PR comments - alignments
|
2023-10-28 07:09:37 +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 |
|
Sean Leary
|
d677a99f4e
|
Merge pull request #798 from hofi1/bugfix/fix-XML-flacky-test
fix: flakiness in org.json.junit.XMLTest#testIndentComplicatedJsonObjectWithArrayAndWithConfig
|
2023-10-17 13:52:29 -05:00 |
|
Sean Leary
|
e6d37c469d
|
Merge pull request #788 from hofi1/bugfix/fix-JSON-flakiness
Fix string compare unit tests
|
2023-10-17 13:51:40 -05:00 |
|
simonh5
|
4dfd779b1c
|
fix: flakiness in org.json.junit.XMLTest#testIndentComplicatedJsonObjectWithArrayAndWithConfig
|
2023-10-14 17:21:06 -05: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 |
|
simonh5
|
29a7f4622d
|
remove JSONAssert
|
2023-10-13 21:23:09 -05:00 |
|
simonh5
|
e4aa7f1308
|
fix: change from JSONAssert to checking the similarity of JSONObjects
|
2023-10-12 21:09:27 -05:00 |
|
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 |
|
Simon Hofbauer
|
228598ca84
|
Merge pull request #6 from hofi1/bugfix/fix-flakyness-testToJSONObject_reversibility
fix: flakiness in JSONMLTest#testToJSONObject_reversibility
|
2023-10-10 18:20:20 -05:00 |
|
Sean Leary
|
c4cd526c53
|
Merge pull request #779 from Madjosz/713_jsonobject_nonfinite
add validity check for JSONObject constructors
|
2023-10-08 17:08:32 -05: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 |
|
Madjosz
|
0e4a94d91d
|
fix failing test XML test on Windows machines
|
2023-10-07 09:38:07 +02:00 |
|