this.sliceResourceFieldProcessor = sliceResourceFieldProcessor;
this.sliceReferenceFieldProcessor = sliceReferenceFieldProcessor;
}
public Mapper getMapper() {
final Mapper mapper = mapperFactory.getMapper();
mapper.registerFieldProcessor(new BooleanFieldProcessor());
mapper.registerFieldProcessor(sliceResourceFieldProcessor);
mapper.registerFieldProcessor(sliceReferenceFieldProcessor);
mapper.registerFieldPostProcessor(new EscapeValuePostProcessor());
return mapper;
}