Interface JSONStreamAware

  • All Known Implementing Classes:
    JSONArray, JSONObject

    public interface JSONStreamAware
    Beans that support customized output of JSON text to a writer shall implement this interface.
    • Method Detail

      • writeJSONString

        void writeJSONString​(java.io.Writer out)
                      throws java.io.IOException
        write JSON string to out.
        Parameters:
        out - the output writer.
        Throws:
        java.io.IOException - if there is an I/O problem.