Package org.apache.tapestry5.jacksondatabind.services

# Interface ObjectMapperSource

All Known Implementing Classes:
  `FallbackObjectMapperSource`

@UsesOrderedConfiguration(ObjectMapperSource.class) public interface ObjectMapperSource

Service that provides `ObjectMapper` instances for specific mapped entity classes.

It's defined as an ordered configuration of `ObjectMapperSource` instances. Calls to `get(Class)` will call the same method in contributed instances until one returns a non-null `ObjectMapper` instance.

Since:
  5.8.0
See Also:
  - `ObjectMapper`
  - `MappedEntityManager`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `com.fasterxml.jackson.databind.ObjectMapper`
  `get(Class<?> clasz)`
  Provides the ObjectMapper to be used for a given mapped entity class.

- ## Method Details

  - ### get

    com.fasterxml.jackson.databind.ObjectMapper get(Class<?> clasz)
    Provides the ObjectMapper to be used for a given mapped entity class.