Class JacksonIntrospection

java.lang.Object
org.vaadin.firitin.util.JacksonIntrospection

public class JacksonIntrospection extends Object
Provides a shared ObjectMapper configured for bean introspection.

Jackson 3 changed the default for MapperFeature.SORT_PROPERTIES_ALPHABETICALLY to enabled, which breaks auto-generated UIs that rely on declaration order. This utility provides an ObjectMapper with that feature disabled.

  • Constructor Details

    • JacksonIntrospection

      public JacksonIntrospection()
  • Method Details

    • getMapper

      public static tools.jackson.databind.ObjectMapper getMapper()