-1:000000000000 | 0:e1a6e639c5f6 |
---|---|
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 } |