X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Forg%2Fjson%2Fsimple%2FJSONAware.java;fp=src%2Forg%2Fjson%2Fsimple%2FJSONAware.java;h=5e7452faa7fd051ba135c92cf13e7efe5db37323;hb=9b66182c509351fe033d474734c1eb368418a0f4;hp=0000000000000000000000000000000000000000;hpb=69241a5225dc2abcca0b1ccdd2a17769d5b0f5bb;p=jalview.git diff --git a/src/org/json/simple/JSONAware.java b/src/org/json/simple/JSONAware.java new file mode 100644 index 0000000..5e7452f --- /dev/null +++ b/src/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(); +}