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