Interface JSONStreamAwareEx

All Superinterfaces:
JSONStreamAware
All Known Implementing Classes:
JSONArray, JSONObject

public interface JSONStreamAwareEx extends JSONStreamAware
Beans that support customized output of JSON text to a writer shall implement this interface.
Author:
FangYidong <fangyidong@yahoo.com.cn>
  • Method Details

    • writeJSONString

      void writeJSONString(Appendable out, JSONStyle compression) throws IOException
      write JSON string to out.
      Parameters:
      out - the output to write to
      compression - the JSON style for formatting
      Throws:
      IOException - if I/O error occurs