aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/external/json/JSONString.java
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-09-11 11:55:17 +0300
committerLeif Åstrand <leif@vaadin.com>2012-09-11 11:56:19 +0300
commitb3d9805666a9f798554a91ea09981816b9fe9d60 (patch)
tree08a3375098e58c4d9322f66ff7da39c65359ae8f /server/src/com/vaadin/external/json/JSONString.java
parentc0b98ed77842f505f3a2f424c5d049a3c0c970cb (diff)
downloadvaadin-framework-b3d9805666a9f798554a91ea09981816b9fe9d60.tar.gz
vaadin-framework-b3d9805666a9f798554a91ea09981816b9fe9d60.zip
Use org.json instead of com.vaadin.external.json (#9539)
Diffstat (limited to 'server/src/com/vaadin/external/json/JSONString.java')
-rw-r--r--server/src/com/vaadin/external/json/JSONString.java21
1 files changed, 0 insertions, 21 deletions
diff --git a/server/src/com/vaadin/external/json/JSONString.java b/server/src/com/vaadin/external/json/JSONString.java
deleted file mode 100644
index cc7e4d8c07..0000000000
--- a/server/src/com/vaadin/external/json/JSONString.java
+++ /dev/null
@@ -1,21 +0,0 @@
-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();
-}