Package ch.tocco.nice2.rest.core.impl
Class ObjectMapperContextResolver
java.lang.Object
ch.tocco.nice2.rest.core.impl.ObjectMapperContextResolver
- All Implemented Interfaces:
jakarta.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
public class ObjectMapperContextResolver
extends Object
implements jakarta.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
-
Constructor Summary
ConstructorDescriptionObjectMapperContextResolver
(Map<Class, JsonSerializerContribution> serializers) -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.ObjectMapper
getContext
(Class<?> type)
-
Constructor Details
-
ObjectMapperContextResolver
-
-
Method Details
-
getContext
- Specified by:
getContext
in interfacejakarta.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
-