Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.10 #116

Merged
merged 2 commits into from Oct 6, 2019
Merged

2.10 #116

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Expand Up @@ -77,6 +77,16 @@ In addition there are format-specific annotations that may be used:
* JSON has:
* `com.fasterxml.jackson.jaxrs.json.annotation.JSONP` to define `JSONP` wrapping for serialized result


## Module Considerations
* The JSON/JAX-RS module has multiple names depending on the version in use. To enable modular usage, add the requires statement that pertains directly to the implementation you are using.
```
requires javax.ws.rs.api; //Older libraries
requires java.ws.rs; //Newer libraries
requires jakarta.ws.rs.api; //Reserved name for Jakarta Impl
```


## Other

For documentation, downloads links, check out [Wiki](../../wiki)
5 changes: 4 additions & 1 deletion json/src/moditect/module-info.java
Expand Up @@ -6,7 +6,10 @@
requires com.fasterxml.jackson.module.jaxb;

requires com.fasterxml.jackson.jaxrs.base;
requires javax.ws.rs.api;

requires static javax.ws.rs.api;
requires static java.ws.rs;
requires static jakarta.ws.rs.api;

exports com.fasterxml.jackson.jaxrs.json;
exports com.fasterxml.jackson.jaxrs.json.annotation;
Expand Down