Skip to content

Commit

Permalink
update afterburner/blackbird READMEs
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Dec 1, 2020
1 parent 37c3717 commit 6876b28
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
9 changes: 6 additions & 3 deletions afterburner/README.md
Expand Up @@ -5,6 +5,8 @@ Afterburner plugs in using standard `Module` interface.
## Status

Module is considered stable and has been used in production environments since version 2.2.
There is, however, a potential future replacement available (as of Jackson 2.12): Blackbird module.
See the parent README for details.

[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.fasterxml.jackson.module/jackson-module-afterburner/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.fasterxml.jackson.module/jackson-module-afterburner/)
[![Javadoc](https://javadoc-emblem.rhcloud.com/doc/com.fasterxml.jackson.module/jackson-module-afterburner/badge.svg)](http://www.javadoc.io/doc/com.fasterxml.jackson.module/jackson-module-afterburner)
Expand All @@ -19,7 +21,7 @@ To use module on Maven-based projects, use following dependency:
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-afterburner</artifactId>
<version>2.7.1</version>
<version>2.12.0</version>
</dependency>
```

Expand All @@ -36,8 +38,9 @@ Module jar is also a functional OSGi bundle, with proper import/export declarati
To use the the Module in Jackson, simply register it with the ObjectMapper instance:

```java
ObjectMapper mapper = new ObjectMapper()
mapper.registerModule(new AfterburnerModule());
ObjectMapper mapper = JsonMapper.builder()
.addModule(new AfterburnerModule())
.build();
```

after which you just do data-binding as usual:
Expand Down
7 changes: 4 additions & 3 deletions blackbird/README.md
Expand Up @@ -28,7 +28,7 @@ Blackbird passes all the original Afterburner tests (except a couple that didn't

### Maven dependency

Blackbird is available on Maven Central as of 2.10.0:
Blackbird is available on Maven Central as of 2.12.0:

```xml
<dependency>
Expand All @@ -42,8 +42,9 @@ Blackbird is available on Maven Central as of 2.10.0:
To use the the Module in Jackson, simply register it with the ObjectMapper instance:

```java
ObjectMapper mapper = new ObjectMapper()
mapper.registerModule(new BlackbirdModule());
ObjectMapper mapper = JsonMapper.builder()
.addModule(new BlackbirdModule())
.build();
```

after which you just do data-binding as usual:
Expand Down

0 comments on commit 6876b28

Please sign in to comment.