FasterXML / FasterXML/jackson3-dev

Add new method(s) in serializer/deserializer factory for accessing only "POJO" (de)serializer

オープン
#28 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
言語のデータがありません
スター
6
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

Although lookups by general Java type (Collection(-like), Map(-like), array, Enum, reference type, "other") works well for registering custom (de)serializers, there is one set of functionality where it is not sufficient: that of "shape-changing".

For example, when serializing `Enum` values "as POJOs" (by inspecting properties), lookup is needed ONLY for POJO serializer (`BeanSerializer`), and not for Enum type. But currently there is no way to explicitly specify desire for such (de)serializer. This requires clumsy work-arounds on factories, lack of extensibility. With 3.x we can add new methods to overcome this problem.

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

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

評価

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

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

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