Interface JsonRender

    • Method Detail

      • getObject

        Object getObject()
        The underlying object to be rendered.
        Returns:
        The underlying object to be rendered.
      • getObjectWriter

        @Nullable
        ObjectWriter getObjectWriter()
        The object writer to use to render the object as JSON.

        If null, the "default" writer should be used by the renderer.

        Returns:
        The object writer to be used.
      • getViewClass

        @Nullable
        Class<?> getViewClass()
        The view class to use when rendering the object.

        If null, no specific view will be used.

        Returns:
        The view class to be used.