com.fasterxml.jackson.databind.cfg

Class ConfigOverrides

    • Field Detail

      • _defaultInclusion

        protected com.fasterxml.jackson.annotation.JsonInclude.Value _defaultInclusion
        Since:
        2.9
      • _defaultSetterInfo

        protected com.fasterxml.jackson.annotation.JsonSetter.Value _defaultSetterInfo
        Since:
        2.9
      • _defaultMergeable

        protected Boolean _defaultMergeable
        Since:
        2.9
      • _defaultLeniency

        protected Boolean _defaultLeniency
        Global default setting (if any) for leniency: if disabled ({link Boolean#TRUE}), "strict" (not lenient): default setting if absence of value is considered "lenient" in Jackson 2.x. Default setting may be overridden by per-type and per-property settings.
        Since:
        2.10
    • Constructor Detail

      • ConfigOverrides

        public ConfigOverrides()
      • ConfigOverrides

        protected ConfigOverrides(Map<Class<?>,MutableConfigOverride> overrides,
                                  com.fasterxml.jackson.annotation.JsonInclude.Value defIncl,
                                  com.fasterxml.jackson.annotation.JsonSetter.Value defSetter,
                                  VisibilityChecker<?> defVisibility,
                                  Boolean defMergeable,
                                  Boolean defLeniency)
        Since:
        2.10
    • Method Detail

      • findFormatDefaults

        public com.fasterxml.jackson.annotation.JsonFormat.Value findFormatDefaults(Class<?> type)
        Specific accessor for finding {code JsonFormat.Value} for given type, considering global default for leniency as well as per-type format override (if any).
        Returns:
        Default format settings for type; never null.
        Since:
        2.10
      • getDefaultInclusion

        public com.fasterxml.jackson.annotation.JsonInclude.Value getDefaultInclusion()
      • getDefaultSetterInfo

        public com.fasterxml.jackson.annotation.JsonSetter.Value getDefaultSetterInfo()
      • getDefaultMergeable

        public Boolean getDefaultMergeable()
      • getDefaultLeniency

        public Boolean getDefaultLeniency()
        Since:
        2.10
      • getDefaultVisibility

        public VisibilityChecker<?> getDefaultVisibility()
        Since:
        2.9
      • setDefaultInclusion

        public void setDefaultInclusion(com.fasterxml.jackson.annotation.JsonInclude.Value v)
        Since:
        2.9
      • setDefaultSetterInfo

        public void setDefaultSetterInfo(com.fasterxml.jackson.annotation.JsonSetter.Value v)
        Since:
        2.9
      • setDefaultMergeable

        public void setDefaultMergeable(Boolean v)
        Since:
        2.9
      • setDefaultLeniency

        public void setDefaultLeniency(Boolean v)
        Since:
        2.10
      • setDefaultVisibility

        public void setDefaultVisibility(VisibilityChecker<?> v)
        Since:
        2.9

Copyright © 2008–2021 FasterXML. All rights reserved.