File tree 2 files changed +14
-0
lines changed
src/main/java/com/fasterxml/jackson/databind/deser
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ Project: jackson-databind
19
19
#2683 : Explicitly fail (de)serialization of `java.time.*` types in absence of
20
20
registered custom (de)serializers
21
21
#2707 : Improve description included in by `DeserializationContext.handleUnexpectedToken()`
22
+ - Add `BeanDeserializerBase.isCaseInsensitive()`
22
23
23
24
2.11.1 (not yet released)
24
25
Original file line number Diff line number Diff line change @@ -989,6 +989,19 @@ public Object getEmptyValue(DeserializationContext ctxt) throws JsonMappingExcep
989
989
@ Override
990
990
public boolean isCachable () { return true ; }
991
991
992
+ /**
993
+ * Accessor for checking whether this deserializer is operating
994
+ * in case-insensitive manner.
995
+ *
996
+ * @return True if this deserializer should match property names without
997
+ * considering casing; false if case has to match exactly.
998
+ *
999
+ * @since 2.12
1000
+ */
1001
+ public boolean isCaseInsensitive () {
1002
+ return _beanProperties .isCaseInsensitive ();
1003
+ }
1004
+
992
1005
@ Override // since 2.9
993
1006
public Boolean supportsUpdate (DeserializationConfig config ) {
994
1007
// although with possible caveats, yes, values can be updated
You can’t perform that action at this time.
0 commit comments