aboutsummaryrefslogtreecommitdiff
path: root/src/org/json/simple/JSONStreamAware.java
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2014-05-05 20:25:53 +0000
committerPacien TRAN-GIRARD2014-05-05 20:25:53 +0000
commitc67f1d95464d1d6c2854c59a920a2b3ea975df0f (patch)
treebf84b623ddec71edfbfc68f16d5530a3e11f7155 /src/org/json/simple/JSONStreamAware.java
parent0a87883db4d8e1728c1f520deda15e6e79ff1f01 (diff)
parentb8cafdd1c70b3fbb455ee6821c3dd0e5dc587188 (diff)
downloadesieequest-c67f1d95464d1d6c2854c59a920a2b3ea975df0f.tar.gz
Merge branch 'zuul-awesome' into 'master'
Zuul Awesome
Diffstat (limited to 'src/org/json/simple/JSONStreamAware.java')
-rw-r--r--src/org/json/simple/JSONStreamAware.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/org/json/simple/JSONStreamAware.java b/src/org/json/simple/JSONStreamAware.java
new file mode 100644
index 0000000..c0420fb
--- /dev/null
+++ b/src/org/json/simple/JSONStreamAware.java
@@ -0,0 +1,18 @@
1package org.json.simple;
2
3import java.io.IOException;
4
5import rejava.io.Writer;
6
7/**
8 * Beans that support customized output of JSON text to a writer shall implement
9 * this interface.
10 *
11 * @author FangYidong<fangyidong@yahoo.com.cn>
12 */
13public interface JSONStreamAware {
14 /**
15 * write JSON string to out.
16 */
17 void writeJSONString(final Writer out) throws IOException;
18}