Simulant
ad44a9274c
add new test cases for JSONObject and JSONArray Constructors with JSONTokener and strict mode
2025-01-11 21:43:04 +01:00
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
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
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
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
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
rikkarth
1e3f37be98
feat( #877 ): add additional validation, test case
2024-04-27 22:37:21 +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
rikkarth
898dd5a39d
fix( #887 ): allow null value strict mode
2024-04-23 20:52:02 +01:00
rikkarth
7cc19483fb
fix( #887 ): regression parsing array with non-string and boolean values
2024-04-23 19:06:27 +01:00
rikkarth
3dcd5b2fab
fix( #887 ): double array breaking JSONTokener.nextValue
...
change(#887 ): input validation
2024-04-21 11:03:15 +01:00
rikkarth
fe597d296e
fix( #887 ): complete strictMode for JSONArray
2024-04-14 23:11:17 +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
rikkarth
c0918c2428
feat(#871-strictMode): add allowSingleQuote option, add enhancements and simplification
2024-03-30 11:06:30 +00:00
rikkarth
4929fc99c1
test(#871-strictMode): added more test cases, improved existing ones
2024-03-30 10:15:47 +00:00
rikkarth
49de92224d
chore(#871-strictMode): fix small spacing typo
2024-03-22 18:42:49 +00:00
rikkarth
d335447ab4
test(#871-strictMode): add two more test which validate error correctness
2024-03-22 18:28:56 +00:00
rikkarth
3672b5e158
chore(#871-strictMode): reverted unrelated changes
2024-03-17 15:20:38 +00:00
rikkarth
0ff368ca07
chore(#871-strictMode): corrected small syntax typo in unit test
2024-03-15 23:13:21 +00:00
rikkarth
e67abb3842
feat(#871-strictMode): improved validation, strict mode for quotes implementation
2024-03-15 22:28:31 +00:00
rikkarth
c140e91bb8
test(#871-strictMode): strict mode false initial implementation
2024-03-15 01:23:20 +00:00
rikkarth
63e8314deb
feat(#871-strictMode): strictMode JSONArray initial implementation
...
test(#871-strictMode): initial test implementation
2024-03-15 00:45:32 +00:00
Sean Leary
dab29ec1d5
remove-jsonparserconfig-ctor - just use the withOverwriteDuplicateKey() method
2024-03-09 09:15:53 -06:00
XIAYM-gh
af8cb376c2
Add tests (+ fix bugs) & missing javadoc
2024-02-19 18:58:25 +08:00