d9f0355f0c
misc: change package to compat and make maven-local be able
2025-05-08 17:32:17 +08:00
marilynel
53da5ce2a9
adjusted keepstrings behavior to reflect changes in keepBooleanAsString & keepNumberAsString
2025-04-06 11:04:33 -07:00
marilynel
8dbf03e76b
work on issue 841
2025-03-30 12:21:44 -07:00
marilynel
45ec164faa
Merge branch 'master' of https://github.com/marilynel/JSON-java
2025-03-23 10:27:57 -07:00
Robert Lichtenberger
fd0cca3586
Fix cloning of parser configuration.
2025-03-21 10:12:20 +01:00
Robert Lichtenberger
1afd7cd6bc
Use better name for parser configuration option, fix API comment.
2025-03-21 07:25:37 +01:00
Robert Lichtenberger
d1327c2da3
Allow to configure Java null handling.
2025-03-19 07:59:57 +01:00
marilynel
b2943b8fd0
fixed issue #943 Csv parsing skip last row if last line is missing newline
2025-03-16 12:50:58 -07:00
marilynel
ae4f4afcc7
dont mess with my line
2025-03-02 11:08:00 -08:00
marilynel
f30167e7c0
tests seem to be working, run with strictMode = fale then true
2025-02-23 22:00:22 -08:00
marilynel
3919abd69a
optimized unit tests to respond accurately to default strictMode
2025-02-15 12:30:12 -08:00
marilynel
f112a091aa
fixed failing unit tests in strict mode, issue 940
2025-02-15 12:03:03 -08:00
marilynel
1689fc28cf
deprecated unnecessary setter method
2025-02-09 11:13:22 -08:00
Sean Leary
22f8290840
Merge pull request #948 from Simulant87/947-JSONTokener-configuration-ignored
...
use JSONParserConfiguration of JSONTokener in JSONObject and JSONArray constructor instead of creating a new one
2025-01-19 09:09:42 -06:00
Sean Leary
8b857da467
Merge pull request #946 from Simulant87/928-javadoc-warning-JSONParserConfiguration
...
#928 add missing javaDoc for JSONParserConfiguration
2025-01-19 09:07:53 -06:00
Sean Leary
07b1291448
Merge pull request #942 from michael-ameri/fix-clone
...
add missing fields when cloning JSONParserConfiguration
2025-01-19 09:06:21 -06:00
Simulant
4c873a1db4
#947 use JSONParserConfiguration of JSONTokener in JSONObject and JSONArray constructor
2025-01-15 21:41:01 +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
Michael Ameri
4bbbe77446
add missing fields when cloning
2025-01-12 23:03:31 +01:00
Simulant
215f4268bf
add Javadoc and rename parameters to speaking variable names
2025-01-11 21:35:36 +01:00
Michael Ameri
ca1c6830c9
remove field references to JSONTokener and JSONParserConfiguration in JSONArray
...
and JSONObject
2025-01-10 18:05:27 +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
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
215ec9bb9c
Revert "Merge pull request #877 from rikkarth/feat/871-strictMode"
...
This reverts commit d02ac0f2a3
, reversing
changes made to cfd47615d0
.
2024-11-03 09:50:08 -06:00
Sean Leary
61dc2644d8
Revert "Merge pull request #886 from Simulant87/884-strictmode-javadoc"
...
This reverts commit 8983ca6da1
, reversing
changes made to d02ac0f2a3
.
2024-11-03 09:49:50 -06:00
Sean Leary
ab1b9a3459
Revert "Merge pull request #888 from rikkarth/fix/887"
...
This reverts commit 14f71274f7
, reversing
changes made to 054786e300
.
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
rikkarth
a8ab79e3f3
chore( #887 ): JSONParserConfiguration strictMode true flag cleanup
2024-05-19 14:41:16 +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
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
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
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
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