md-yasir
6dd878d3c9
Deprecated public constructors instead of making it private.
2025-10-24 09:10:53 +05:30
md-yasir
2c6082a0a2
Refactored stop conditions to be invariant by using while loop.
2025-10-23 22:50:12 +05:30
md-yasir
5dc1031d17
Made JSONMl constructor to private and refactored ternary operations to independent statement in L243
2025-10-23 22:38:01 +05:30
md-yasir
1de42aa4fd
Made CookieList constructor to private.
2025-10-23 22:37:00 +05:30
md-yasir
c13b57ca26
Made Cookie constructor to private.
2025-10-23 22:36:53 +05:30
md-yasir
1a2c50b40c
changed string checking logic >> string.length() > 0 to !string.isEmpty()
2025-10-11 19:48:33 +05:30
marilynel
05867c4b0b
Merge branch 'master' of https://github.com/marilynel/JSON-java
2025-09-21 16:37:20 -08:00
marilynel
c6efa080c0
more cleanup sonarqube JSONArray
2025-09-21 16:36:52 -08:00
Sean Leary
aff59d06fa
Merge pull request #1011 from marilynel/master
...
more sonarcube fixes
2025-09-18 20:13:43 -05:00
Sean Leary
b258ea3d46
Merge pull request #1008 from eleumik/eleumik-patch-1007-array
...
Update JSONArray.java for #1007
2025-09-18 20:12:55 -05:00
Sean Leary
a5e234aa19
Merge pull request #1009 from eleumik/eleumik-patch-1
...
Update JSONTokener.java for #1007
2025-09-18 20:12:03 -05:00
marilynel
f2af220cb4
more sonarcube fixes
2025-09-14 10:59:39 -08:00
Michele Vivoda
686c084897
Update JSONTokener.java for #1007
...
fixed parse of `0.` in strict mode
2025-09-10 02:30:19 +02:00
Michele Vivoda
9de3005566
Update JSONArray.java for #1007
...
fix array content starting with ',' in strict mode
2025-09-10 02:21:16 +02:00
marilynel
69c87dc4db
more sonarcube optimization in jsonobject.java
2025-09-07 12:52:59 -08:00
marilynel
53cfa742a7
more sonarcube optimization in jsonobject.java
2025-09-07 12:41:37 -08:00
marilynel
4e0f62b1a6
more sonarcube optimization in jsonobject.java
2025-09-07 12:28:52 -08:00
marilynel
6ed2880f55
more sonarcube cleanup
2025-08-24 12:55:49 -08:00
marilynel
9bb26bdb34
sonar cube stuff
2025-08-03 11:52:20 -08:00
marilynel
38c3a0bb3f
more sonarcube issues
2025-07-27 11:45:07 -08:00
marilynel
ebd9a17a3b
addressing minor sonarqube concerns
2025-07-27 11:26:50 -08:00
marilynel
e762629bcc
oops one more sonarcube issue lol
2025-07-20 12:04:51 -08:00
marilynel
7fc41a6c0e
addressing cognitive complextity
2025-07-20 11:58:30 -08:00
marilynel
c91b728386
oops forgot null
2025-07-13 12:52:42 -08:00
marilynel
fdaeb486ed
fixed some strict mode issues 980
2025-07-13 12:41:17 -08:00
Sean Leary
f0a78aff61
Merge pull request #995 from marilynel/master
...
Fix regression XML parsing null with keepStrings
2025-07-09 20:18:48 -05:00
marilynel
3dce55794f
fixed keeping null as string
2025-07-06 12:37:05 -08:00
Sean Leary
7b0d1942b4
tech-debt-25250701 add jacoco to gradle build, refactor JSONObject to restore performance
2025-07-03 20:39:13 -05:00
Sean Leary
197afddbfb
Merge pull request #990 from Simulant87/984-refactor-cognitive-complexity-populateMap
...
Refactor JSONObject populateMap() per SonarQube
2025-07-01 07:13:18 -05:00
Alex Cai
c882783d58
Format line 2755 in JSONObject.java
2025-06-27 01:44:27 +08:00
Simulant
5063d314a5
#984 extract method for annotation value check
2025-06-25 23:08:01 +02:00
Simulant
916fba5d39
#984 extract methods reducing cognitive complexity
...
for JSONObject#populateMap
2025-06-25 23:00:07 +02:00
AlexCai2019
aac376f305
Remove a redundant condition and an empty string
...
Remove "NULL.equals(object)" on line 2756 of JSONObject.java since line 2752 has already tested it.
Remove the empty string on line 249 of JSONPointer.java.
2025-06-23 01:31:51 +08:00
Sean Leary
50330430ce
remove-unused-code-jsonobject removed unused method from jsonobject
2025-06-07 16:15:43 -05:00
AlexCai2019
e800cc349f
Use constant.equals()
...
There are some equals() that are not constant.equals(variable), but variable.equals(constant)
2025-06-05 02:15:49 +08:00
hboggavarapu
dadc3e59dc
Use JSONParserConfiguration to decide on serializing null fields into JSONObject #982
2025-05-23 17:57:08 +05:30
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