protected void writeJSON(final HttpServletResponse resp, final Object obj)
      throws IOException {
    writeJSON(resp, obj, false);
  }
protected void writeJSON ( final HttpServletResponse resp , final Object obj ) throws IOException { writeJSON ( resp , obj , false ) ; }
Writes json out to the stream.