Dean
4a8ff28fd8
Reduced Test code length by using resources
2022-10-07 10:35:06 +01:00
Dean
fa457a4113
Test cases for XML toString indentation
2022-10-06 12:01:26 +01:00
Dean
b7f708b222
Altered XML toString to allow indentation param
2022-10-06 12:01:13 +01:00
stleary
89f6e7f6a6
Merge branch 'master' into update-copyright
2022-08-26 20:59:00 -05:00
Sean Leary
346fb26f2d
Merge pull request #683 from spaffrath/Issue_682_JSONString_similarity
...
Issue 682 JSONString similarity
2022-08-26 20:57:22 -05:00
stleary
6daabb43ab
update-copyright - Replace copyright and license restrictions with Public Domain
2022-08-23 20:00:25 -05:00
stleary
e0534b3ec7
initial attempt to test for inconsistent map types in JSONObject
2022-08-20 16:14:34 -05:00
Scott Paffrath
89f16ad0af
Issue 682 JSONString similarity
2022-08-05 11:00:33 -07:00
John J. Aylward
beae279b21
Updates tests to have updated message expectations
2022-03-21 13:06:19 -04:00
John J. Aylward
7a124d857d
Add test cases for invalid input
2022-01-26 12:19:53 -05:00
Sean Leary
cff5cc6c74
Merge pull request #646 from Zetmas/feature/issue#595
...
XMLParserConfiguration support for xml to json arrays
2021-12-03 19:37:00 -06:00
Liam Miller-Cushon
812955e39d
Use IdentityHashSet for cycle detection
...
Fixes https://github.com/stleary/JSON-java/issues/650
2021-11-26 20:07:21 -05:00
Zach
5dd78bc0b9
Test case passed with tags with multiple entries set forceList
2021-11-19 21:22:38 -06:00
Zach
e638955034
Pass test case for empty tag with forceList
2021-11-19 21:05:05 -06:00
Zach
3f9b53fee4
longer forcelist tests
2021-11-19 20:55:10 -06:00
Zach
fafaeb7aa6
Added simple test case
2021-11-19 20:32:36 -06:00
Zach
fca7e17b38
Added test cases for self recursion and complex but no recursion
2021-11-18 14:53:22 -06:00
Zach
fb96e870a9
add test case and modified old ones
2021-11-17 20:00:12 -06:00
Zach
638273af7a
long circle test
2021-11-17 19:41:00 -06:00
Zach
1ffcf3915c
successful test
2021-11-17 19:35:53 -06:00
Zach
4565bddcbb
data class for recursive test
2021-11-17 17:23:40 -06:00
katldewitt
3ed9154f63
fix: refactor tests
...
context: the backslash unit tests cannot be in the complete document as uriFragmentNotationRoot() will fail due to backslash handling
2021-10-28 05:59:22 -07:00
katldewitt
669316d29e
chore: write unit tests for behavior
2021-10-28 05:45:23 -07:00
katldewitt
30a70c8886
chore: initial unit tests
2021-10-24 08:41:57 -07:00
sreekesh93
9000901a11
Fix test to support oreder mismatch
2021-10-11 19:55:31 +05:30
sreekesh93
f03eb56071
Fix test to support oreder mismatch
2021-10-11 19:46:27 +05:30
sreekesh93
b4bbc58644
Refactor JSONPointerTest
2021-10-11 10:42:31 +05:30
Liam Miller-Cushon
8ca8a80753
Fix some typos
2021-08-25 13:56:44 -07:00
stleary
8680b10716
merge from master to pick up #616 and add one more test
2021-07-26 18:07:38 -05:00
stleary
2559114dbb
Merge branch 'master' into fix-similar-check
2021-07-26 17:53:20 -05:00
John Aylward
579784d73e
correct error in converting doubles to big decimals
2021-07-22 23:46:31 -04:00
John Aylward
c03054b1a6
Add test to show bug
2021-07-22 22:57:15 -04:00
John Aylward
4e0faebe62
fix javadoc errors that prevent compilation in Eclipse
2021-07-22 22:54:46 -04:00
stleary
c6089e53f5
Fixes Issue #611 JsonArray.similar() returns after number entry check
2021-07-18 19:53:23 -05:00
stleary
cfbc306673
Fixes Issue #611 JsonObject.similar() returns after number entry check
2021-07-18 10:32:49 -05:00
Niels Frederiksen
f91d0c8a52
New JSONObject.optJSONObject method with defaultValue parameter
2021-06-23 15:15:00 +02:00
stleary
76ec2fe5a2
Revert accidentally changed file
2021-06-22 19:46:33 -05:00
stleary
8f3e5ade18
Add logo image
2021-06-22 19:34:22 -05:00
Ian Lovejoy
75894086e5
Fixed incorrect cast getting float from array
...
Added test for getting float from array
2021-04-27 19:03:35 -07:00
Shashank Sabniveesu
d6ccc64c79
Closes 563: As never defined in RFC 6901 Section 3, do not handle backslashes (\) and quotes(") as anything special
2021-02-28 16:03:14 -05:00
Stranck
efad1d73a7
Added UnitTests
...
(I hope they works :c)
2020-12-04 04:09:19 +01:00
John J. Aylward
e4b76d6588
Add test to demonstrate the issue. See #573
2020-11-19 18:18:27 -05:00
Rahul Kumar
56d4130a86
Added shallow copy for config map
2020-09-06 11:17:10 +05:30
Rahul Kumar
310f18fcdc
Addressed comment
2020-09-03 11:17:10 +05:30
Rahul Kumar
0a8091c954
Added documentation
2020-08-05 22:25:45 +05:30
Rahul Kumar
61c1a882d6
Added configuration support for type conversion using Map
2020-08-03 08:54:59 +05:30
Rahul Kumar
250f74ef4d
Added type conversion support
2020-08-03 08:18:20 +05:30
John J. Aylward
f37c2d67c5
Update for JSONArray.putAll methods
...
* Adds a copy constructor for JSONArray
* Updates the JSONArray.addAll(Object) method to be more lenient
* Adds support for JSONArray.putAll of generic Iterables
* Adds support for JSONArray.putAll of another JSONArray
2020-07-30 10:10:06 -04:00
Sean Leary
870fa03a19
Merge pull request #529 from ethauvin/master
...
Added putAll(Collection) and putAll(Array) methods.
2020-07-25 12:45:44 -05:00
stleary
98cd8ef8b2
fix CI build error
2020-07-24 03:24:41 -05:00