FasterXML / FasterXML/jackson-module-scala

deserialization to case class with required field

Open
#203 23 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
506
Forks
138
Avg merge
3h 6m
Merged PRs (30d)
48

Description

I have this case class:

```
case class Time(val a: String, val b: String)
```

and this json:

```
{
"a" : "12345"
}
```

When I serialize this json to the `Time` class I expect to get serialization error.
Something like: "missing required field"

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.