ab63b3e578cadb0073e1331d13ca27f60ead594a
[jalview.git] / src / org / json / simple / JSONStreamAware.java
1 package org.json.simple;
2
3 import java.io.IOException;
4 import java.io.Writer;
5
6 /**
7  * Beans that support customized output of JSON text to a writer shall implement this interface.  
8  * @author FangYidong<fangyidong@yahoo.com.cn>
9  */
10 public interface JSONStreamAware {
11         /**
12          * write JSON string to out.
13          */
14         void writeJSONString(Writer out) throws IOException;
15 }