Sean Leary
2dcef89a6f
Code review action items - add comments and consistent error messages for strict mode
2024-12-21 09:50:52 -06:00
Sean Leary
d3c7eaf17e
restore-jsonparserconfiguration: fix unit tests to work when strictMode default is true
2024-12-15 13:18:39 -06:00
Sean Leary
09536cd6c8
restore-jsonparserconfiguration: add jsonobject strict tests. Detect semicolon instead of colon separator in object
2024-12-15 10:38:54 -06:00
Sean Leary
1f0729cadb
restore-jsonparserconfiguration: strict mode initial attempt. Still missing all JSONObject test cases and strict mode sanity check. Might be able to simplify implementation a bit more
2024-12-14 14:40:40 -06:00
Sean Leary
80b2672f77
restore-jsonparserconfiguration: clean up some whitespace
2024-12-14 10:07:26 -06:00
Sean Leary
1f308db7c4
restore-jsonparserconfiguration: Restore methods to be used for strict mode
2024-12-14 10:01:27 -06:00
Sean Leary
2ee5bf13f4
Merge pull request #907 from hexetia/fix-901
...
Fix a bug when calling JSONArray.addAll() with Collection as Object
2024-11-13 16:29:34 -06:00
Sean Leary
e7e52dad82
Merge pull request #894 from stleary/update-jsonpath
...
update-jsonpath: update jsonpath from 2.4.0 to 2.9.0
2024-11-10 17:43:33 -06:00
Sean Leary
39ee5e092f
Merge pull request #911 from stleary/revert-strict-mode-for-now
...
Revert strict mode
2024-11-10 17:41:11 -06:00
Sean Leary
215ec9bb9c
Revert "Merge pull request #877 from rikkarth/feat/871-strictMode"
...
This reverts commit d02ac0f2a35f8c8ba56230bc4b67275010d4d617, reversing
changes made to cfd47615d0b9a2392945d198d7fd820bbbc17437.
2024-11-03 09:50:08 -06:00
Sean Leary
61dc2644d8
Revert "Merge pull request #886 from Simulant87/884-strictmode-javadoc"
...
This reverts commit 8983ca6da195bd8b7eb9e6655e97a2490d4afa2e, reversing
changes made to d02ac0f2a35f8c8ba56230bc4b67275010d4d617.
2024-11-03 09:49:50 -06:00
Sean Leary
ab1b9a3459
Revert "Merge pull request #888 from rikkarth/fix/887"
...
This reverts commit 14f71274f79ac50afb316845539f4195facc33ee, reversing
changes made to 054786e300d0fc38f0cf7fc0f2db4d9b39cb6443.
2024-11-03 09:49:23 -06:00
Lucas Nascimento
14e9cdc485
fix( #901 ): add the jsonparserConfiguration param to avoid a stackoverflow error
2024-10-05 11:43:00 -03:00
Lucas Nascimento
0d71dcf713
test( #901 ): call JsonArray.putAll with a casted list as object
2024-10-05 11:39:26 -03:00
Sean Leary
14f71274f7
Merge pull request #888 from rikkarth/fix/887
...
fix(#887 ): complete strictMode for JSONArray
2024-05-20 20:18:49 -05:00
rikkarth
a8ab79e3f3
chore( #887 ): JSONParserConfiguration strictMode true flag cleanup
2024-05-19 14:41:16 +01:00
Sean Leary
783577be19
update-jsonpath: update jsonpath from 2.4.0 to 2.9.0
2024-05-14 20:48:33 -05:00
Sean Leary
054786e300
Merge pull request #889 from kaiyaok2/fix_nio_tests
...
Fixed non-idempotent unit tests in `JSONObjectTest`
2024-05-03 12:15:52 -05:00
rikkarth
48dfeb84b0
fix( #887 ): unit tests, uncommented tests after fix
2024-04-28 23:52:53 +01:00
rikkarth
1ae43bdb90
fix( #887 ): regressions, unit tests
...
- JSONArray now evaluates EOF accordingly for empty Array inputs.
- JSONTokener fixed indentation
- externalized two JSONMLTest cases
2024-04-28 23:30:05 +01:00
Sean Leary
cf00ef3e8a
fixes the broken JSONTokenerTest cases
2024-04-28 12:47:51 -05:00
Sean Leary
0180bd90f0
fixes the broken XMLTest cases
2024-04-28 12:41:58 -05:00
Sean Leary
fa2f3402d6
fixes the broken XMLConfigurationTest cases
2024-04-28 11:33:31 -05:00
Sean Leary
f4944fbf1e
fixes the broken JSONMLTest cases
2024-04-28 11:28:38 -05:00
Sean Leary
1881cbe91a
fixes the broken CDLTest cases
2024-04-28 11:23:01 -05:00
Sean Leary
209837357b
fixes the broken JSONObjectTest cases
2024-04-28 11:03:24 -05:00
Sean Leary
d1fd901bdb
fixes the JSONObjectNumberTest cases
2024-04-28 10:47:40 -05:00
Sean Leary
6529a7e536
fixes the broken JSONArrayTest cases
2024-04-28 10:45:23 -05:00
Sean Leary
4319b71934
force strict mode to expose failing tests
2024-04-28 10:37:36 -05:00
rikkarth
1e3f37be98
feat( #877 ): add additional validation, test case
2024-04-27 22:37:21 +01:00
rikkarth
7a8c21621c
fix( #877 ): adaptation for java 6 compatibility
2024-04-27 22:16:38 +01:00
rikkarth
9216a19366
feat( #877 ): improved JSONArray and JSONTokener logic
...
JSONArray construction improved to recursive validation
JSONTokener implemented smallCharMemory and array level for improved validation
Added new test cases and minor test case adaption
2024-04-27 22:14:35 +01:00
Kaiyao Ke
b6e347d7f8
fixed non-idempotent unit tests
2024-04-26 01:01:21 -05:00
rikkarth
879579d3bb
chore( #887 ): signature minor edit
2024-04-23 20:54:20 +01:00
rikkarth
898dd5a39d
fix( #887 ): allow null value strict mode
2024-04-23 20:52:02 +01:00
rikkarth
ce13ebd5fe
chore( #887 ): clean up parsedUnquotedText implementation
2024-04-23 20:42:11 +01:00
rikkarth
7cc19483fb
fix( #887 ): regression parsing array with non-string and boolean values
2024-04-23 19:06:27 +01:00
rikkarth
0bace72ced
fix( #887 ): small typo
2024-04-21 22:09:05 +01:00
rikkarth
03def9c7fc
Merge branch 'master' of github.com:stleary/JSON-java into fix/887
2024-04-21 22:05:56 +01:00
rikkarth
3dcd5b2fab
fix( #887 ): double array breaking JSONTokener.nextValue
...
change(#887 ): input validation
2024-04-21 11:03:15 +01:00
Sean Leary
8983ca6da1
Merge pull request #886 from Simulant87/884-strictmode-javadoc
...
add javadoc for strictmode
2024-04-15 17:00:32 -05:00
rikkarth
ce074e9f9a
fix( #887 ): corrected small typo
2024-04-14 23:23:06 +01:00
rikkarth
fe597d296e
fix( #887 ): complete strictMode for JSONArray
2024-04-14 23:11:17 +01:00
Simulant87
5bd4257c54
add javadoc for strictmode
2024-04-12 15:30:41 +02:00
Sean Leary
d02ac0f2a3
Merge pull request #877 from rikkarth/feat/871-strictMode
...
StrictMode Implementation for JSONArray
2024-04-10 10:27:09 -05:00
Sean Leary
cfd47615d0
Update README.md to fix the download-jar link
...
This got accidentally left out in the last release
2024-04-07 12:33:33 -05:00
rikkarth
3200275881
change(stleary#871-strictMode): cleanup
...
chore: removed PII from json sample
chore: JSONParserConfiguration.java cleanup
chore: JSONTokener.java nextValue partial rollback
2024-04-07 10:26:28 +01:00
rikkarth
d92d62afc2
Merge branch 'master' into feat/871-strictMode
2024-03-30 22:03:57 +00:00
rikkarth
46534b56ad
feat(#871-strictMode): removed allowSingleQuotes
...
test(#871-strictMode): adjusted related tests, add more test cases for non-compliant quotes in strict mode
2024-03-30 18:44:51 +00:00
Sean Leary
87406e4db1
Merge pull request #879 from Simulant87/add-syntax-error-details
...
extend syntax error information
2024-03-30 09:42:27 -05:00