新增多态反射反序列化的文章

This commit is contained in:
YuCheng Hu 2024-05-05 12:32:24 -04:00
parent 5ba9e6af3c
commit bfe43b468d
Signed by: honeymoose
GPG Key ID: D74AE0B33A8002EC
5 changed files with 8 additions and 4 deletions

View File

@ -13,6 +13,7 @@
<module name="core-java-annotations" /> <module name="core-java-annotations" />
<module name="core-java-uuid" /> <module name="core-java-uuid" />
<module name="core-java-numbers" /> <module name="core-java-numbers" />
<module name="jackson-polymorphic-deserialization" />
<module name="core-java-strings" /> <module name="core-java-strings" />
<module name="jackson" /> <module name="jackson" />
<module name="core-java-11" /> <module name="core-java-11" />

View File

@ -75,6 +75,8 @@
<file url="file://$PROJECT_DIR$/jackson-modules/jackson-exceptions/src/main/resources" charset="UTF-8" /> <file url="file://$PROJECT_DIR$/jackson-modules/jackson-exceptions/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/jackson-modules/jackson-jr/src/main/java" charset="UTF-8" /> <file url="file://$PROJECT_DIR$/jackson-modules/jackson-jr/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/jackson-modules/jackson-jr/src/main/resources" charset="UTF-8" /> <file url="file://$PROJECT_DIR$/jackson-modules/jackson-jr/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/jackson-modules/jackson-polymorphic-deserialization/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/jackson-modules/jackson-polymorphic-deserialization/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/jackson-modules/jackson/src/main/java" charset="UTF-8" /> <file url="file://$PROJECT_DIR$/jackson-modules/jackson/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/jackson-modules/jackson/src/main/resources" charset="UTF-8" /> <file url="file://$PROJECT_DIR$/jackson-modules/jackson/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/jackson-modules/src/main/java" charset="UTF-8" /> <file url="file://$PROJECT_DIR$/jackson-modules/src/main/java" charset="UTF-8" />

View File

@ -1,2 +1,2 @@
## Relevant Articles ## 相关文章
- [@JsonSubTypes vs. Reflections for Polymorphic Deserialization in Jackson](https://www.baeldung.com/java-jackson-polymorphic-deserialization) - [Jackson 中的 @JsonSubTypes 对比多态反射反序列化](https://track.ossez.com/articles/PL-A-37491939/JsonSubTypes-vs.-Reflections-for-Polymorphic-Deserialization-in-Jackson)

View File

@ -7,9 +7,9 @@
<name>jackson-polymorphic-deserialization</name> <name>jackson-polymorphic-deserialization</name>
<parent> <parent>
<groupId>com.baeldung</groupId> <groupId>com.ossez</groupId>
<artifactId>jackson-modules</artifactId> <artifactId>jackson-modules</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.2-SNAPSHOT</version>
</parent> </parent>
<dependencies> <dependencies>

View File

@ -22,6 +22,7 @@
<module>jackson-custom-conversions</module> <module>jackson-custom-conversions</module>
<module>jackson-exceptions</module> <module>jackson-exceptions</module>
<module>jackson-jr</module> <module>jackson-jr</module>
<module>jackson-polymorphic-deserialization</module>
</modules> </modules>
<dependencies> <dependencies>