mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 00:37:55 +00:00
18 lines
368 B
Java
18 lines
368 B
Java
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;
|
|
}
|