Package io.avaje.jsonb.spi
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
All Methods Instance Methods Abstract Methods Default Methods 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 Detail
-
build
default void build(ViewBuilder builder)
Build view for the top level.
-
build
void build(ViewBuilder builder, String name, MethodHandle handle)
Build nested part of the view.
-
-