Package ratpack.jackson.internal

Examples of ratpack.jackson.internal.DefaultJsonRender


   *
   * @param object The object to render as JSON.
   * @return A JSON type wrapper for the given object.
   */
  public static JsonRender json(Object object) {
    return new DefaultJsonRender(object, null);
  }
View Full Code Here


   * @param object The object to render as JSON.
   * @param objectWriter The writer to use to render the object as JSON. If null, the default object writer will be used by the renderer.
   * @return A JSON type wrapper for the given object.
   */
  public static JsonRender json(Object object, @Nullable ObjectWriter objectWriter) {
    return new DefaultJsonRender(object, objectWriter);
  }
View Full Code Here

TOP

Related Classes of ratpack.jackson.internal.DefaultJsonRender

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.