Class SdkBuildTimeObjectMapperFactory
java.lang.Object
ai.timefold.solver.service.jackson.impl.SdkBuildTimeObjectMapperFactory
A factory for creating an
ObjectMapper instance with the custom configuration
of the SdkObjectMapperCustomizer.
Important: This factory is intended for build-time usage only, since it creates a new ObjectMapper instance
that is not managed by the Quarkus framework.
Such instances are not guaranteed to have the same configuration, including registered modules, as the managed
ObjectMapper.
Thus, using an ObjectMapper instance created by this factory at runtime may fail in natively compiled applications.
Should be used only in models to ensure consistent serialization/deserialization behavior.
See SdkObjectMapperCustomizer for details on the configuration applied.
-
Method Summary
-
Method Details
-
create
public static com.fasterxml.jackson.databind.ObjectMapper create()
-