forked from I2P_Developers/i2p.i2p
JSON javadoc fixes
This commit is contained in:
@@ -107,7 +107,7 @@ public class ItemList {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param i 0-based
|
* @param i 0-based
|
||||||
* @return
|
* @return the value
|
||||||
*/
|
*/
|
||||||
public String get(int i){
|
public String get(int i){
|
||||||
return (String)items.get(i);
|
return (String)items.get(i);
|
||||||
|
@@ -138,7 +138,7 @@ public class JSONObject extends HashMap implements Map, JSONAware, JSONStreamAwa
|
|||||||
* @see org.json.simple.JSONValue#escape(String)
|
* @see org.json.simple.JSONValue#escape(String)
|
||||||
*
|
*
|
||||||
* @param s
|
* @param s
|
||||||
* @return
|
* @return the value
|
||||||
*/
|
*/
|
||||||
public static String escape(String s){
|
public static String escape(String s){
|
||||||
return JSONValue.escape(s);
|
return JSONValue.escape(s);
|
||||||
|
@@ -90,7 +90,7 @@ public class JSONValue {
|
|||||||
* @see org.json.simple.JSONArray#writeJSONString(List, Writer)
|
* @see org.json.simple.JSONArray#writeJSONString(List, Writer)
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* @param writer
|
* @param out
|
||||||
*/
|
*/
|
||||||
public static void writeJSONString(Object value, Writer out) throws IOException {
|
public static void writeJSONString(Object value, Writer out) throws IOException {
|
||||||
if(value == null){
|
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).
|
* Escape quotes, \, /, \r, \n, \b, \f, \t and other control characters (U+0000 through U+001F).
|
||||||
* @param s
|
* @param s
|
||||||
* @return
|
* @return the value
|
||||||
*/
|
*/
|
||||||
public static String escape(String s){
|
public static String escape(String s){
|
||||||
if(s==null)
|
if(s==null)
|
||||||
|
11
core/java/src/org/json/simple/package.html
Normal file
11
core/java/src/org/json/simple/package.html
Normal 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>
|
Reference in New Issue
Block a user