Class GeoJsonJacksonJsonMapperBuilderCustomizer

java.lang.Object
org.bremersee.geojson.spring.boot.autoconfigure.jackson.GeoJsonJacksonJsonMapperBuilderCustomizer
All Implemented Interfaces:
org.springframework.boot.jackson.autoconfigure.JsonMapperBuilderCustomizer

@ConditionalOnWebApplication @ConditionalOnClass(name={"org.bremersee.geojson.GeoJsonObjectMapperModule","tools.jackson.databind.json.JsonMapper"}) @AutoConfiguration @AutoConfigureAfter(GeoJsonGeometryFactoryAutoConfiguration.class) @EnableConfigurationProperties(GeoJsonProperties.class) public class GeoJsonJacksonJsonMapperBuilderCustomizer extends Object implements org.springframework.boot.jackson.autoconfigure.JsonMapperBuilderCustomizer
The GeoJSON jackson 2 object mapper builder customizer.
Author:
Christian Bremer
  • Constructor Details

    • GeoJsonJacksonJsonMapperBuilderCustomizer

      public GeoJsonJacksonJsonMapperBuilderCustomizer(GeoJsonProperties properties, org.springframework.beans.factory.ObjectProvider<org.bremersee.geojson.GeoJsonGeometryFactory> geometryFactory)
      Instantiates a new GeoJSON jackson 2 object mapper builder customizer.
      Parameters:
      properties - the properties
      geometryFactory - the geometry factory
  • Method Details

    • init

      @EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class) public void init()
      Init.
    • customize

      public void customize(tools.jackson.databind.json.JsonMapper.Builder jsonMapperBuilder)
      Specified by:
      customize in interface org.springframework.boot.jackson.autoconfigure.JsonMapperBuilderCustomizer