X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Forg%2Fjson%2FJSONString.java;h=2e11712bacab627ce59da9a03f4ca8b9e3c642db;hb=519889be0d1e8f135123e6facab85b45410740cf;hp=1f2d77dd1e409123235bf663ee394c0947c86daf;hpb=6e56c166e45d1af37c5531b4cbe909a3e110927e;p=jalview.git
diff --git a/src/org/json/JSONString.java b/src/org/json/JSONString.java
index 1f2d77d..2e11712 100644
--- a/src/org/json/JSONString.java
+++ b/src/org/json/JSONString.java
@@ -1,18 +1,20 @@
package org.json;
+
/**
* The JSONString
interface allows a toJSONString()
* method so that a class can change the behavior of
- * JSONObject.toString()
, JSONArray.toString()
,
- * and JSONWriter.value(
Object)
. The
+ * JSONObject.toString()
, JSONArray.toString()
, and
+ * JSONWriter.value(
Object)
. The
* toJSONString
method will be used instead of the default behavior
* of using the Object's toString()
method and quoting the result.
*/
-public interface JSONString {
- /**
- * The toJSONString
method allows a class to produce its own JSON
- * serialization.
- *
- * @return A strictly syntactically correct JSON text.
- */
- public String toJSONString();
+public interface JSONString
+{
+ /**
+ * The toJSONString
method allows a class to produce its own JSON
+ * serialization.
+ *
+ * @return A strictly syntactically correct JSON text.
+ */
+ public String toJSONString();
}