Package org.spongepowered.configurate.objectmapping

Object mapper to handle converting between raw nodes and POJOs.

The ObjectMapper provides type serializers that can coerce data from configuration-native types to the desired types, and back again. This removes a lot of the uncertainty in trying to determine which value types are supported by a specific configuration format.

Object mappers work on fields in classes, components in records, and similar data structures with custom FieldDiscoverer implementations. See the method documentation for each field discoverer to understand the limitations in each type.