use of com.fasterxml.jackson.module.mrbean.MrBeanModule in project buck by facebook.
the class BuckEventsHandler method createObjectMapper.
@VisibleForTesting
public static ObjectMapper createObjectMapper() {
final ObjectMapper objectMapper = new ObjectMapper();
objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
objectMapper.registerModule(new MrBeanModule());
objectMapper.registerModule(new GuavaModule());
return objectMapper;
}
Aggregations