mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2026-04-23 22:30:28 +00:00
AAE-41879 Migrate jackson 2 -> 3
This commit is contained in:
@@ -24,13 +24,17 @@ package org.alfresco.transform.config.reader;
|
||||
import java.io.IOException;
|
||||
|
||||
import org.springframework.core.io.Resource;
|
||||
import tools.jackson.databind.DeserializationFeature;
|
||||
import tools.jackson.databind.ObjectMapper;
|
||||
import tools.jackson.databind.json.JsonMapper;
|
||||
|
||||
import org.alfresco.transform.config.TransformConfig;
|
||||
|
||||
public class TransformConfigReaderJson implements TransformConfigReader
|
||||
{
|
||||
private static final ObjectMapper MAPPER = new ObjectMapper();
|
||||
private static final ObjectMapper MAPPER = JsonMapper.builder()
|
||||
.disable(DeserializationFeature.FAIL_ON_NULL_FOR_PRIMITIVES)
|
||||
.build();
|
||||
|
||||
private final Resource resource;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user