Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/antolius/jackson-record-showcase
Project illustrating an issue with Jackson's XML related annotations when applied to java records.
https://github.com/antolius/jackson-record-showcase
Last synced: 25 days ago
JSON representation
Project illustrating an issue with Jackson's XML related annotations when applied to java records.
- Host: GitHub
- URL: https://github.com/antolius/jackson-record-showcase
- Owner: Antolius
- Created: 2022-03-23T13:29:03.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-23T13:33:34.000Z (almost 3 years ago)
- Last Synced: 2024-10-25T09:16:41.011Z (2 months ago)
- Language: Java
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jackson record showcase
Project illustrating an issue with Jackson's XML related `@JacksonXmlElementWrapper` and `@JacksonXmlProperty`
annotations when applied to java records. It's tracked by [Issue 517](https://github.com/FasterXML/jackson-dataformat-xml/issues/517)The project consists of 2 tests, both attempting to deserialize the same XML string. One is using classes, and it
passes. The other one is using records and fails.You can run the tests by executing:
```shell
$ mvn clean install
```The project is built with maven and is using Java 17 and Jackson version 2.13.2.