Commit 0f2245f0 authored by Noel Alonso's avatar Noel Alonso
Browse files

Añade módulo para de/serializar geometrías

parent 26341116
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -6,6 +6,9 @@ import org.springframework.context.MessageSource;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;

import com.bedatadriven.jackson.datatype.jts.JtsModule;
import com.fasterxml.jackson.databind.Module;

import es.redmic.restlib.config.ResourceBundleMessageSource;

@SpringBootApplication
@@ -22,4 +25,9 @@ public class VesselsViewApplication {

		return new ResourceBundleMessageSource();
	}

	@Bean
	public Module jtsModule() {
		return new JtsModule();
	}
}