X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src2%2Forg%2Fjson%2Fsimple%2FJSONAware.java;fp=src2%2Forg%2Fjson%2Fsimple%2FJSONAware.java;h=5e7452faa7fd051ba135c92cf13e7efe5db37323;hb=665d2c2f4c1310e6985b93b7c2c8a8eec2fa9086;hp=0000000000000000000000000000000000000000;hpb=0e684f72690bd6532272a39ab6c188a27559fd09;p=jalview.git diff --git a/src2/org/json/simple/JSONAware.java b/src2/org/json/simple/JSONAware.java new file mode 100644 index 0000000..5e7452f --- /dev/null +++ b/src2/org/json/simple/JSONAware.java @@ -0,0 +1,12 @@ +package org.json.simple; + +/** + * Beans that support customized output of JSON text shall implement this interface. + * @author FangYidong + */ +public interface JSONAware { + /** + * @return JSON text + */ + String toJSONString(); +}