FasterXML / FasterXML/jackson-module-scala

deserialization to case class with required field

オープン
#203 コメント 23 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Scala
スター
506
フォーク
138
平均マージ
3時間 6分
マージ済み PR(30日)
48

説明

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"

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。