play.mvc.results
Class RenderJson
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
play.mvc.results.Result
play.mvc.results.RenderJson
- All Implemented Interfaces:
- Serializable
public class RenderJson
- extends Result
200 OK with application/json
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
RenderJson
public RenderJson(Object o)
RenderJson
public RenderJson(Object o,
com.google.gson.JsonSerializer<?>... adapters)
RenderJson
public RenderJson(String jsonString)
apply
public void apply(Http.Request request,
Http.Response response)
- Specified by:
apply in class Result
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly