package org.zkoss.json;

/**
 * Beans that support customized output of JSON text shall implement this interface. 
 * It is called when encoding an object.
 * @author FangYidong&lt;fangyidong@yahoo.com.cn&gt;
 */
public interface JSONAware {
	/**
	 * @return JSON text
	 */
	String toJSONString();
}
