aboutsummaryrefslogtreecommitdiff
path: root/src/org/json/simple/JSONStreamAware.java
blob: c0420fbac9762f9d5363e2a9501138c1d9261f7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package org.json.simple;

import java.io.IOException;

import rejava.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(final Writer out) throws IOException;
}