Skip to content

Commit a0fd48b

Browse files
committed
Update README.md
1 parent 24b6618 commit a0fd48b

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

README.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -82,20 +82,6 @@ val mapper = JsonMapper.builder()
8282
.build()
8383
```
8484

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-
9985
## ClassTagExtensions
10086
You can also mixin `ClassTagExtensions` to get rich wrappers that automatically
10187
convert scala ClassTags directly into TypeReferences for Jackson to use:

0 commit comments

Comments
 (0)