1 2 3 4 5 6 7 8 9 10 11 12 13 14
package org.json.simple; /** * Beans that support customized output of JSON text shall implement this * interface. * * @author FangYidong<fangyidong@yahoo.com.cn> */ public interface JSONAware { /** * @return JSON text */ String toJSONString(); }