Package io.avaje.jsonb
Interface JsonbComponent
-
- All Known Subinterfaces:
Jsonb.GeneratedComponent
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface JsonbComponent
User defined components to register custom JsonAdapters with Jsonb.Builder.These are service loaded when Jsonb starts. They can be specified in
META-INF/services/io.avaje.jsonb.JsonbComponent
or when using java module system via aprovides
clause in module-info.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
register(Jsonb.Builder builder)
Register JsonAdapters with the Builder.
-
-
-
Method Detail
-
register
void register(Jsonb.Builder builder)
Register JsonAdapters with the Builder.
-
-