// Path: plume-web-jersey/src/main/java/com/coreoz/plume/jersey/jackson/ObjectMapperProvider.java
// @Singleton
// public class ObjectMapperProvider implements Provider<ObjectMapper> {
// 
// 	private final ObjectMapper objectMapper;
// 
// 	@Inject
// 	public ObjectMapperProvider() {
// 		this.objectMapper = new ObjectMapper()
// 			.registerModule(new JavaTimeModule())
// 			.disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS)
// 			.disable(SerializationFeature.FAIL_ON_EMPTY_BEANS)
// 			.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES);
// 	}
// 
// 	@Override
// 	public ObjectMapper get() {
// 		return objectMapper;
// 	}
// 
// }


import com.coreoz.plume.jersey.jackson.ObjectMapperProvider;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.inject.AbstractModule;
package com.coreoz.plume.jersey.guice;


public class GuiceJacksonModule extends AbstractModule {

	@Override
	protected void configure() {
// Path: plume-web-jersey/src/main/java/com/coreoz/plume/jersey/jackson/ObjectMapperProvider.java
// @Singleton
// public class ObjectMapperProvider implements Provider<ObjectMapper> {
// 
// 	private final ObjectMapper objectMapper;
// 
// 	@Inject
// 	public ObjectMapperProvider() {
// 		this.objectMapper = new ObjectMapper()
// 			.registerModule(new JavaTimeModule())
// 			.disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS)
// 			.disable(SerializationFeature.FAIL_ON_EMPTY_BEANS)
// 			.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES);
// 	}
// 
// 	@Override
// 	public ObjectMapper get() {
// 		return objectMapper;
// 	}
// 
// }


// Path: plume-web-jersey/src/main/java/com/coreoz/plume/jersey/guice/GuiceJacksonModule.java
import com.coreoz.plume.jersey.jackson.ObjectMapperProvider;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.inject.AbstractModule;

package com.coreoz.plume.jersey.guice;


public class GuiceJacksonModule extends AbstractModule {

	@Override
	protected void configure() {
		bind(ObjectMapper.class).toProvider(ObjectMapperProvider.class);