use of org.craftercms.core.util.json.jackson.Dom4jDocumentJsonSerializer in project core by craftercms.
the class Dom4JDocumentJsonSerializerTest method setUpTestObjectMapper.
private void setUpTestObjectMapper() {
Dom4jDocumentJsonSerializer serializer = new Dom4jDocumentJsonSerializer();
List<JsonSerializer<?>> serializers = new ArrayList<>();
serializers.add(serializer);
objectMapper = new CustomSerializationObjectMapper();
objectMapper.setSerializers(serializers);
objectMapper.init();
}
Aggregations