summaryrefslogtreecommitdiffstats
path: root/mobile/android/thirdparty/org/json/simple/JSONStreamAware.java
blob: c2287c459e8b62de34ff78b4b8f4db3212f2e7e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package org.json.simple;

import java.io.IOException;
import java.io.Writer;

/**
 * Beans that support customized output of JSON text to a writer shall implement this interface.  
 * @author FangYidong<fangyidong@yahoo.com.cn>
 */
public interface JSONStreamAware {
	/**
	 * write JSON string to out.
	 */
	void writeJSONString(Writer out) throws IOException;
}