// Path: friendly-id-jackson-datatype/src/main/java/com/devskiller/friendly_id/jackson/FriendlyIdModule.java
// public class FriendlyIdModule extends SimpleModule {
// 
// 	private FriendlyIdAnnotationIntrospector introspector;
// 
// 	public FriendlyIdModule() {
// 		introspector = new FriendlyIdAnnotationIntrospector();
// 		addDeserializer(UUID.class, new FriendlyIdDeserializer());
// 		addSerializer(UUID.class, new FriendlyIdSerializer());
// 	}
// 
// 	@Override
// 	public void setupModule(SetupContext context) {
// 		context.insertAnnotationIntrospector(introspector);
// 	}
// }


import com.fasterxml.jackson.databind.Module;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.devskiller.friendly_id.jackson.FriendlyIdModule;
package com.devskiller.friendly_id.spring;



public class ObjectMapperConfiguration {

	protected static ObjectMapper mapper(Module... modules) {
		ObjectMapper mapper = new ObjectMapper();
// Path: friendly-id-jackson-datatype/src/main/java/com/devskiller/friendly_id/jackson/FriendlyIdModule.java
// public class FriendlyIdModule extends SimpleModule {
// 
// 	private FriendlyIdAnnotationIntrospector introspector;
// 
// 	public FriendlyIdModule() {
// 		introspector = new FriendlyIdAnnotationIntrospector();
// 		addDeserializer(UUID.class, new FriendlyIdDeserializer());
// 		addSerializer(UUID.class, new FriendlyIdSerializer());
// 	}
// 
// 	@Override
// 	public void setupModule(SetupContext context) {
// 		context.insertAnnotationIntrospector(introspector);
// 	}
// }


// Path: friendly-id-jackson-datatype/src/test/java/com/devskiller/friendly_id/spring/ObjectMapperConfiguration.java
import com.fasterxml.jackson.databind.Module;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.devskiller.friendly_id.jackson.FriendlyIdModule;

package com.devskiller.friendly_id.spring;



public class ObjectMapperConfiguration {

	protected static ObjectMapper mapper(Module... modules) {
		ObjectMapper mapper = new ObjectMapper();
		mapper.registerModule(new FriendlyIdModule());