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