Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.