view org/json/simple/JSONStreamAware.java @ 9:d69b7a6d408e

Fix issue #10 ("Cannot access an Orthanc running with a self-signed HTTPS certificate")
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 15 Apr 2016 11:12:05 +0200
parents 1092b2dca366
children
line wrap: on
line source

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;
}