Class JacksonFeature

  • All Implemented Interfaces:
    Feature

    public class JacksonFeature
    extends Object
    implements Feature
    Feature used to register Jackson JSON providers.
    Author:
    Stepan Kopriva, Michal Gajdos
    • Constructor Detail

      • JacksonFeature

        public JacksonFeature()
        Default constructor enables registering Jackson's exception mappers
    • Method Detail

      • withExceptionMappers

        public static JacksonFeature withExceptionMappers()
        Create JacksonFeature with working Jackson's exception mappers
        Returns:
        JacksonFeature with working Jackson's exception mappers
      • withoutExceptionMappers

        public static JacksonFeature withoutExceptionMappers()
        Create JacksonFeature without registered Jackson's exception mappers
        Returns:
        JacksonFeature without registered Jackson's exception mappers