mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
16 lines
378 B
Java
16 lines
378 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;
|
|
}
|