Interface JSONStreamAware

  • All Known Implementing Classes:
    JSONArray, JSONObject

    @Deprecated
    public interface JSONStreamAware
    Deprecated.
    since 2.0.0, replaced by Jsonable
    Beans that support customized output of JSON text to a writer shall implement this interface.
    Author:
    FangYidong<fangyidong@yahoo.com.cn>
    • Method Detail

      • writeJSONString

        void writeJSONString​(java.io.Writer out)
                      throws java.io.IOException
        Deprecated.
        write JSON string to out.
        Parameters:
        out - description omitted.
        Throws:
        java.io.IOException - description omitted.