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 Summary

    Modifier and Type
    Method
    Description
    void
    write JSON string to out.
  • Method Details

    • writeJSONString

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