Class ObjectMappingKt
-
- All Implemented Interfaces:
public final class ObjectMappingKt
-
-
Method Summary
Modifier and Type Method Description final static ObjectMapper.FactoryobjectMapperFactory()Get an object mapper factory with standard capabilities and settings, except for the added ability to interpret data clasess with a dataClassFieldDiscoverer. final static FieldDiscoverer<?>dataClassFieldDiscoverer()Get a field discoverer that can determine field information from data classes. final static <T extends Any> ObjectMapper<T>objectMapper()Get an object mapper for the type T using the default object mapper factory final static <T extends Any> UnittoNode(T $self, ConfigurationNode target)Get an object mapper bound to the instance of T, resolving type parameters -
-
Method Detail
-
objectMapperFactory
final static ObjectMapper.Factory objectMapperFactory()
Get an object mapper factory with standard capabilities and settings, except for the added ability to interpret data clasess with a dataClassFieldDiscoverer.
-
dataClassFieldDiscoverer
final static FieldDiscoverer<?> dataClassFieldDiscoverer()
Get a field discoverer that can determine field information from data classes.
-
objectMapper
final static <T extends Any> ObjectMapper<T> objectMapper()
Get an object mapper for the type T using the default object mapper factory
-
-
-
-