JSON javadoc fixes

This commit is contained in:
zzz
2018-11-19 14:59:14 +00:00
parent d263e42e1e
commit 97e7a98aed
4 changed files with 15 additions and 4 deletions

View File

@ -107,7 +107,7 @@ public class ItemList {
/**
* @param i 0-based
* @return
* @return the value
*/
public String get(int i){
return (String)items.get(i);

View File

@ -138,7 +138,7 @@ public class JSONObject extends HashMap implements Map, JSONAware, JSONStreamAwa
* @see org.json.simple.JSONValue#escape(String)
*
* @param s
* @return
* @return the value
*/
public static String escape(String s){
return JSONValue.escape(s);

View File

@ -90,7 +90,7 @@ public class JSONValue {
* @see org.json.simple.JSONArray#writeJSONString(List, Writer)
*
* @param value
* @param writer
* @param out
*/
public static void writeJSONString(Object value, Writer out) throws IOException {
if(value == null){
@ -210,7 +210,7 @@ public class JSONValue {
/**
* Escape quotes, \, /, \r, \n, \b, \f, \t and other control characters (U+0000 through U+001F).
* @param s
* @return
* @return the value
*/
public static String escape(String s){
if(s==null)

View File

@ -0,0 +1,11 @@
<html>
<body>
<p>
This is json-simple release 1.1.1 2012-02-19
retrieved from <a href="https://github.com/cliftonlabs/json-simple">github</a>.
</p><p>
Unmodified, except for javadoc fixes.
Apache 2.
</p>
</body>
</html>