File tree 1 file changed +0
-14
lines changed
1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -82,20 +82,6 @@ val mapper = JsonMapper.builder()
82
82
.build()
83
83
```
84
84
85
- ## DeserializationFeature.FAIL_ON_NULL_CREATOR_PROPERTIES
86
-
87
- It is recommended that Scala users enable ` DeserializationFeature.FAIL_ON_NULL_CREATOR_PROPERTIES ` . This feature means that when you
88
- deserialize JSON and bind to a Scala/Java class and a required field is missing (or null), then the deserialization call will fail
89
- with a ` tools.jackson.databind.exc.MismatchedInputException ` . By default, the deserialization call will succeed and a ` null ` value
90
- will be set for the field.
91
-
92
- ``` scala
93
- val mapper = JsonMapper .builder()
94
- .addModule(DefaultScalaModule )
95
- .enable(DeserializationFeature .FAIL_ON_NULL_CREATOR_PROPERTIES )
96
- .build()
97
- ```
98
-
99
85
## ClassTagExtensions
100
86
You can also mixin ` ClassTagExtensions ` to get rich wrappers that automatically
101
87
convert scala ClassTags directly into TypeReferences for Jackson to use:
You can’t perform that action at this time.
0 commit comments