File tree 2 files changed +1
-19
lines changed
msgpack-jackson/src/main/java/org/msgpack/jackson/dataformat
2 files changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ lazy val msgpackJackson =
109
109
" org.msgpack.jackson.dataformat"
110
110
),
111
111
libraryDependencies ++= Seq (
112
- " com.fasterxml.jackson.core" % " jackson-databind" % " 2.16 .2" ,
112
+ " com.fasterxml.jackson.core" % " jackson-databind" % " 2.18 .2" ,
113
113
junitInterface,
114
114
" org.apache.commons" % " commons-math3" % " 3.6.1" % " test"
115
115
),
Original file line number Diff line number Diff line change 2
2
3
3
import com .fasterxml .jackson .annotation .JsonFormat ;
4
4
import com .fasterxml .jackson .databind .introspect .Annotated ;
5
- import com .fasterxml .jackson .databind .introspect .AnnotatedClass ;
6
5
import com .fasterxml .jackson .databind .introspect .JacksonAnnotationIntrospector ;
7
6
8
7
import static com .fasterxml .jackson .annotation .JsonFormat .Shape .ARRAY ;
@@ -33,21 +32,4 @@ public JsonFormat.Value findFormat(Annotated ann)
33
32
34
33
return ARRAY_FORMAT ;
35
34
}
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
- }
53
35
}
You can’t perform that action at this time.
0 commit comments