File tree Expand file tree Collapse file tree 2 files changed +1
-19
lines changed
msgpack-jackson/src/main/java/org/msgpack/jackson/dataformat Expand file tree Collapse file tree 2 files changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ lazy val msgpackJackson =
109109 " org.msgpack.jackson.dataformat"
110110 ),
111111 libraryDependencies ++= Seq (
112- " com.fasterxml.jackson.core" % " jackson-databind" % " 2.16 .2" ,
112+ " com.fasterxml.jackson.core" % " jackson-databind" % " 2.18 .2" ,
113113 junitInterface,
114114 " org.apache.commons" % " commons-math3" % " 3.6.1" % " test"
115115 ),
Original file line number Diff line number Diff line change 22
33import com .fasterxml .jackson .annotation .JsonFormat ;
44import com .fasterxml .jackson .databind .introspect .Annotated ;
5- import com .fasterxml .jackson .databind .introspect .AnnotatedClass ;
65import com .fasterxml .jackson .databind .introspect .JacksonAnnotationIntrospector ;
76
87import static com .fasterxml .jackson .annotation .JsonFormat .Shape .ARRAY ;
@@ -33,21 +32,4 @@ public JsonFormat.Value findFormat(Annotated ann)
3332
3433 return ARRAY_FORMAT ;
3534 }
36-
37- /**
38- * Defines that unknown properties will be ignored, and won't fail the un-marshalling process.
39- * Happens in case of de-serialization of a payload that contains more properties than the actual
40- * value type
41- */
42- @ Override
43- public Boolean findIgnoreUnknownProperties (AnnotatedClass ac )
44- {
45- // If the entity contains JsonIgnoreProperties annotation, give it higher priority.
46- final Boolean precedenceIgnoreUnknownProperties = super .findIgnoreUnknownProperties (ac );
47- if (precedenceIgnoreUnknownProperties != null ) {
48- return precedenceIgnoreUnknownProperties ;
49- }
50-
51- return true ;
52- }
5335}
You can’t perform that action at this time.
0 commit comments