X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=srcjar_unused%2Forg%2Fjson%2Fsimple%2FJSONStreamAware.java;fp=srcjar_unused%2Forg%2Fjson%2Fsimple%2FJSONStreamAware.java;h=ab63b3e578cadb0073e1331d13ca27f60ead594a;hb=2639d90e2b52d49cf586c0b602bc606033c9b8ae;hp=0000000000000000000000000000000000000000;hpb=aaead18c6acb21da4d63f3ad9f454d9eb410152f;p=jalview.git diff --git a/srcjar_unused/org/json/simple/JSONStreamAware.java b/srcjar_unused/org/json/simple/JSONStreamAware.java new file mode 100644 index 0000000..ab63b3e --- /dev/null +++ b/srcjar_unused/org/json/simple/JSONStreamAware.java @@ -0,0 +1,15 @@ +package org.json.simple; + +import java.io.IOException; +import java.io.Writer; + +/** + * Beans that support customized output of JSON text to a writer shall implement this interface. + * @author FangYidong + */ +public interface JSONStreamAware { + /** + * write JSON string to out. + */ + void writeJSONString(Writer out) throws IOException; +}