public interface JsonResponseWriter
Object
in JSON for the response.Modifier and Type | Method and Description |
---|---|
void |
writeResponse(Object jsonObject)
Writes the
Object in JSON to the response. |
void writeResponse(Object jsonObject) throws IOException
Object
in JSON to the response.jsonObject
- Object
to be serialised into JSON for the response.IOException
- If fails to serialise as JSON for the response.Copyright © 2005–2016. All rights reserved.