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 @@ -968,6 +968,19 @@ public Object getEmptyValue(DeserializationContext ctxt) throws JsonMappingExcep
968
968
@ Override
969
969
public boolean isCachable () { return true ; }
970
970
971
+ /**
972
+ * Accessor for checking whether this deserializer is operating
973
+ * in case-insensitive manner.
974
+ *
975
+ * @return True if this deserializer should match property names without
976
+ * considering casing; false if case has to match exactly.
977
+ *
978
+ * @since 2.12
979
+ */
980
+ public boolean isCaseInsensitive () {
981
+ return _beanProperties .isCaseInsensitive ();
982
+ }
983
+
971
984
@ Override // since 2.9
972
985
public Boolean supportsUpdate (DeserializationConfig config ) {
973
986
// although with possible caveats, yes, values can be updated
You can’t perform that action at this time.
0 commit comments