diff options
author | Artur Signell <artur@vaadin.com> | 2012-01-31 18:49:57 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-01-31 18:49:57 +0200 |
commit | 94a7e95d37925e8784fc00d4b4f800f6bf7c1ee8 (patch) | |
tree | 3b82893b981c909a18afa58622162732a169866b /src/com/vaadin/external/json/JSONString.java | |
parent | c1f26940cd893dc5e89d2c6eb39d83ce668557fe (diff) | |
parent | 116cd1f29a432fe5ca64f3023a9fec1ca130f078 (diff) | |
download | vaadin-framework-94a7e95d37925e8784fc00d4b4f800f6bf7c1ee8.tar.gz vaadin-framework-94a7e95d37925e8784fc00d4b4f800f6bf7c1ee8.zip |
Merge commit '116cd1f29a432fe5ca64f3023a9fec1ca130f078' (origin/6.8)
Manually merged CRLF changes + additional small patch for changes that SHOULD NOT be in the changeset but that the SVN -> GIT sync script has added
Diffstat (limited to 'src/com/vaadin/external/json/JSONString.java')
-rw-r--r-- | src/com/vaadin/external/json/JSONString.java | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/com/vaadin/external/json/JSONString.java b/src/com/vaadin/external/json/JSONString.java index 7b574d1915..cc7e4d8c07 100644 --- a/src/com/vaadin/external/json/JSONString.java +++ b/src/com/vaadin/external/json/JSONString.java @@ -1,21 +1,21 @@ -package com.vaadin.external.json;
-
-import java.io.Serializable;
-
-/**
- * The <code>JSONString</code> interface allows a <code>toJSONString()</code>
- * method so that a class can change the behavior of
- * <code>JSONObject.toString()</code>, <code>JSONArray.toString()</code>, and
- * <code>JSONWriter.value(</code>Object<code>)</code>. The
- * <code>toJSONString</code> method will be used instead of the default behavior
- * of using the Object's <code>toString()</code> method and quoting the result.
- */
-public interface JSONString extends Serializable {
- /**
- * The <code>toJSONString</code> method allows a class to produce its own
- * JSON serialization.
- *
- * @return A strictly syntactically correct JSON text.
- */
- public String toJSONString();
-}
+package com.vaadin.external.json; + +import java.io.Serializable; + +/** + * The <code>JSONString</code> interface allows a <code>toJSONString()</code> + * method so that a class can change the behavior of + * <code>JSONObject.toString()</code>, <code>JSONArray.toString()</code>, and + * <code>JSONWriter.value(</code>Object<code>)</code>. The + * <code>toJSONString</code> method will be used instead of the default behavior + * of using the Object's <code>toString()</code> method and quoting the result. + */ +public interface JSONString extends Serializable { + /** + * The <code>toJSONString</code> method allows a class to produce its own + * JSON serialization. + * + * @return A strictly syntactically correct JSON text. + */ + public String toJSONString(); +} |