Sean Leary
19bb6fd606
Merge pull request #453 from johnjaylward/UseBigDecimalDefaultParse
...
changes number parsing to use BigDecimal as the backing type
2020-06-01 14:03:04 -05:00
Sean Leary
fee6ddb922
Merge pull request #521 from johnjaylward/CookieFlagSupport
...
Updates Cookie class to be more generic in attribute parsing and emit.
2020-05-29 09:59:27 -05:00
Sean Leary
5a32114792
Unified license for both src and test
...
All code in the project is covered by the original license
2020-05-27 08:23:09 -05:00
John J. Aylward
56d33b8061
changes number parsing to use BigDecimal as the backing type
...
* updated tests to support BigDecimal as the backing type for numbers
* updated some test resource handling to java7 try-with-resources format
* cleaned up some other minor compiler warnings
2020-05-26 10:10:36 -04:00
John J. Aylward
6029dece41
ensure key names are consistent when parsing the cookie string since
...
cookie-keys are not case sensitive, but json-keys are.
2020-05-26 09:11:10 -04:00
John J. Aylward
d334b58f45
Made more corrections to Cookie.ToString.
...
1. Made Cookie Name and Value properties case insensitive
2. Throws exception on illegal Cookie Name
3. Doesn't emit "false" flag values
4. Properly escape key-value attributes.
2020-05-26 08:55:19 -04:00
John J. Aylward
b4a75c7bf8
Updates Cookie class to be a more generic in attribute parsing and emit.
...
This is so the library can age better as new attributes are added to RFC
revisions.
2020-05-26 08:53:37 -04:00
Sean Leary
956bdfa5b7
Merge pull request #519 from stleary/gradle-support
...
Gradle support
2020-05-23 10:20:32 -05:00
stleary
8546e68e20
update readme
2020-05-22 11:44:21 -05:00
stleary
0832d1d873
gradle support
2020-05-22 11:24:20 -05:00
stleary
2b0a8838ef
gradle support
2020-05-22 11:17:44 -05:00
Sean Leary
1da2b984cd
Update README.md
2020-05-22 10:50:04 -05:00
Sean Leary
78901383a4
Update README.md
2020-05-22 10:41:55 -05:00
Sean Leary
3737c987a2
Merge pull request #515 from BGehrels/merge-tests-and-pom-and-code
...
Merge tests and pom and code
2020-05-22 10:40:48 -05:00
Sean Leary
8e5b516f2b
Update README.md
2020-05-17 22:41:27 -05:00
Benjamin Gehrels
82202dbf65
Added Jar plugin version to get rid of a warning
2020-04-30 12:23:39 +02:00
Benjamin Gehrels
89d4681e41
Added information on how to release to the pom
2020-04-29 21:02:52 +02:00
Benjamin Gehrels
1265897f4e
Merge remote-tracking branch 'tests/master' into upstream
2020-04-29 20:26:05 +02:00
Benjamin Gehrels
74e4932cfc
Transform the repository into standard maven format and merge the pom.xml of the release repo
2020-04-29 19:24:44 +02:00
Sean Leary
f07ddd93e5
Merge pull request #96 from Alanscut/bean-test
...
improve the confused assert message
2019-12-30 12:31:58 -06:00
Alan Wang
08719d4b3a
Apply suggestions from code review
...
Co-Authored-By: Sean Leary <stleary@gmail.com>
2019-12-30 09:51:08 +08:00
Alanscut
16da56eb34
improve the confused assert message
2019-12-28 17:53:27 +08:00
Sean Leary
6b6e8e85d8
Merge pull request #502 from Alanscut/issue-500
...
update JSONTokener's brief: parse simple json text
2019-12-26 20:56:51 -06:00
Alanscut
6ecbeaa0d2
update JSONTokener's brief: parse simple json text
2019-12-25 11:38:38 +08:00
Sean Leary
3ac647a16f
Merge pull request #499 from Alanscut/copyright
...
Add copyright notice to JSONString, JSONException.
2019-12-23 08:31:01 -06:00
Alanscut
6f06801296
add copyright
2019-12-22 19:17:58 +08:00
Sean Leary
dd7056cb6d
Merge pull request #495 from harkue/master
...
fix typo
2019-11-20 11:20:18 -06:00
harkue
e62d763294
rename hasComma
as a better name "needsComma"
2019-11-13 11:46:21 +08:00
harkue
4990c3a180
fix typo
2019-11-12 16:27:24 +08:00
Sean Leary
4b49bc94ce
Merge pull request #494 from spaffrath/replace_string_arrays_with_var_args
...
Replace JSONObject constructor string arrays with var args
2019-11-06 09:31:23 -06:00
Sean Leary
9afa90d9a9
Merge pull request #492 from ggavriilidis/ISSUE-491_clarify_intention_of_JSONArray_toList
...
Issue-491 - Clarify what the output of the method JSONArray toList is
2019-10-29 22:24:45 -05:00
gavriil
065f9a94bc
Issue-491 - modified the comment of JSONArray toList method to clarify what the output of the method is
2019-10-29 21:35:58 +00:00
scott
223e328161
Replace JSONObject constructor string arrays with var args
2019-10-16 21:12:02 -07:00
Sean Leary
18eddf75c3
Merge pull request #95 from johnjaylward/StandardizeExceptionMessages
...
Test cases updates for standardized exception messages
2019-09-24 20:30:08 -05:00
Sean Leary
044b035847
Merge pull request #486 from johnjaylward/StandardizeExceptionMessages
...
Standardize Exception Messages
2019-09-24 20:29:17 -05:00
Sean Leary
b8fd9d0082
Merge pull request #94 from johnjaylward/FixMLInfiniteLoop
...
new test case for issue 484
2019-09-23 17:57:16 -05:00
Sean Leary
5b62cf13ff
Merge pull request #485 from johnjaylward/FixMLInfiniteLoop
...
Fix for #484
2019-09-23 17:56:53 -05:00
John J. Aylward
a24db2cce2
remove unused import
2019-09-17 11:15:25 -04:00
John J. Aylward
67e59888a2
add second case for data in #484
2019-09-17 11:14:41 -04:00
John J. Aylward
e9c27ab376
standardize exception messages
2019-09-17 11:08:26 -04:00
John J. Aylward
fb01575394
Test cases updates for standardized exception messages
2019-09-17 10:47:16 -04:00
John J. Aylward
3e7a0b13d1
new test case for issue 484
2019-09-17 10:36:48 -04:00
John J. Aylward
328e7d8944
corrects EOL error when the Meta tag isn't closed properly and we reach
...
the end of the input.
2019-09-17 10:33:26 -04:00
Sean Leary
2a6af29235
Merge pull request #483 from viniciusls/patch-1
...
Update README.md to point to latest version
2019-09-07 09:01:19 -05:00
Vinícius Silva
af6d3c63bd
Update README.md to point to latest version
...
Update **Click here if you just want the latest release jar file** on README.md to point to latest version available on Maven Central.
2019-09-06 12:45:41 -03:00
Sean Leary
c3ea0249c9
Merge pull request #481 from johnjaylward/ClarifyParserExceptionsInReadMe
...
clarifies exception that the parser makes when reading JSON
2019-08-14 11:27:40 -05:00
John J. Aylward
b044b7db4d
clarifies exception that the parser makes when reading JSON
2019-08-14 11:47:49 -04:00
Sean Leary
115f8b660b
Merge pull request #475 from gaul/static-methods
...
Make private methods static where possible
2019-08-04 11:18:29 -05:00
Andrew Gaul
f63d21fd13
Make private methods static where possible
...
This avoids an unneeded object reference. Found via error-prone.
2019-07-26 15:24:05 -07:00
Sean Leary
c8ae720caf
Merge pull request #474 from gaul/stringbuilder
...
Prefer unsynchronized StringBuilder
2019-07-26 16:07:31 -05:00