JAL-3438 spotless for 2.11.2.0
[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
8  * this interface.
9  * 
10  * @author FangYidong<fangyidong@yahoo.com.cn>
11  */
12 public interface JSONStreamAware
13 {
14   /**
15    * write JSON string to out.
16    */
17   void writeJSONString(Writer out) throws IOException;
18 }