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

https://github.com/pjfanning/jsr311-compat

JSR-311 compatibility
https://github.com/pjfanning/jsr311-compat

Last synced: about 2 months ago
JSON representation

JSR-311 compatibility

Awesome Lists containing this project

README

        

# jsr311-compat

This project aims to allow jersey-1.x work with newer versions of Jackson 2.

* This is a companion project to my fork of [jersey-json](https://github.com/pjfanning/jersey-1.x)
* The aim is to allow Apache Hadoop to still use Jersey 1.x but also upgrade Jackson
* Hadoop has been blocked from using Jackson 2.13 and above
* For some background, see https://github.com/FasterXML/jackson-jaxrs-providers/issues/134#issuecomment-1180637522

## Implementation and Known Issues

* includes the `javax.ws.rs.core.NoContentException` class from JAX-RS rs-api jar
* does not include `javax.ws.rs.core.Link` because this class needs too many other rs-api changes.
* `jackson-datatype-jaxrs` includes a serializer and deserializer for the Link class so if you need this then this jar is not of use to you
* `jackson-datatype-jaxrs` does not appear to be used by Hadoop

## Usage

This jar is published to Maven Central.

```gradle
com.github.pjfanning:jsr311-compat:0.1.0
```