public Result controllerMethod() { String customJson = "{\"user\" : \"john@woo.com\"}"; return Results.json().renderRaw(customJson); }
@param string The string to render.
@return A result that will render the string directly to the outputstream.
@deprecated => use text().render(string), html().render(string),json().render(string), xml().render(string), or contentType(type).render(string).
|
|
|
|
|
|