This example shows how to implement mappers that convert configuration to POJOs.
BuilderExample.javashows how you can add abuilder()method to a POJO. That method returns aBuilderobject which the config system uses to update with various key settings and then, finally, invokebuild()so the builder can instantiate the POJO with the assigned values.DeserializationExample.javauses the config system's support for automatic mapping to POJOs that have bean-style setter methods.FactoryMethodExample.javaillustrates how you can add a static factory methodcreateto a POJO to tell the config system how to construct a POJO instance.
mvn package
java -jar target/helidon-examples-config-mapping.jar