1
0
Fork 0
mirror of https://github.com/ethauvin/JSON-java.git synced 2025-06-17 16:00:51 -07:00

gradle support

This commit is contained in:
stleary 2020-05-22 11:17:44 -05:00
parent 1da2b984cd
commit 2b0a8838ef
32 changed files with 647 additions and 131 deletions

View file

@ -76,7 +76,7 @@ public class Cookie {
* @param string The cookie specification string.
* @return A JSONObject containing "name", "value", and possibly other
* members.
* @throws JSONException
* @throws JSONException if a called function fails or a syntax error
*/
public static JSONObject toJSONObject(String string) throws JSONException {
String name;
@ -113,7 +113,7 @@ public class Cookie {
* All other members are ignored.
* @param jo A JSONObject
* @return A cookie specification string
* @throws JSONException
* @throws JSONException if a called function fails
*/
public static String toString(JSONObject jo) throws JSONException {
StringBuilder sb = new StringBuilder();