X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Forg%2Fjson%2FJSONString.java;fp=src%2Forg%2Fjson%2FJSONString.java;h=2e11712bacab627ce59da9a03f4ca8b9e3c642db;hb=d043ce47fc710d3eb2629ba926a8a7417bd67d8c;hp=1f2d77dd1e409123235bf663ee394c0947c86daf;hpb=49db0dff1da16c3355b43a41498c1fc93ef47e91;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(); }