Interface ViewBuilderAware


public interface ViewBuilderAware
A (non-scalar) JsonAdapter that is part of building json views.

JsonAdapters for complex types that have more than one property like CustomerJsonAdapter, AddressJsonAdapter can participate in building a json view that will include only some of their properties.

  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    build(ViewBuilder builder)
    Build view for the top level.
    void
    build(ViewBuilder builder, String name, MethodHandle handle)
    Build nested part of the view.
  • Method Details