Download

All Maven artifacts are available from Maven Central under the groupId org.apache.johnzon.

Verifying releases

Validate every download with the Johnzon KEYS file. Read more about how Apache releases are signed.

Johnzon 2.x

Johnzon 2.x implements the JSON-P 2.1 and JSON-B 3.0 specifications, in line with the Jakarta EE 10 platform. It is not backward compatible with Johnzon 1.x due to the namespace change from javax to jakarta.

Binaries for your build come from Maven Central; release bundles are:

The Jakarta APIs to pair with 2.x (scope provided or compile depending on whether your environment already provides them):

<dependency>
    <groupId>jakarta.json</groupId>
    <artifactId>jakarta.json-api</artifactId>
    <version>2.1.3</version>
    <scope>provided</scope>
</dependency>
<dependency>
    <groupId>jakarta.json.bind</groupId>
    <artifactId>jakarta.json.bind-api</artifactId>
    <version>3.0.0</version>
    <scope>provided</scope>
</dependency>

Johnzon 1.3.x

Johnzon 1.2.x and 1.3.x implement the JSON-P 1.1 and JSON-B 1.0 specifications, in line with the Java EE 8 platform.

There was no API change in Jakarta EE 9 except the namespace switch, so Johnzon does not implement it separately: the 1.2.x artifacts are published with a jakarta classifier, produced by bytecode transformation.

The Java EE 8 level APIs:

<dependency>
    <groupId>org.apache.geronimo.specs</groupId>
    <artifactId>geronimo-json_1.1_spec</artifactId>
    <version>1.0</version>
</dependency>
<dependency>
    <groupId>org.apache.geronimo.specs</groupId>
    <artifactId>geronimo-jsonb_1.0_spec</artifactId>
    <version>1.2</version>
</dependency>

Johnzon 1.0.x

Johnzon 1.0.x implements JSON-P 1.0 and a preliminary version of JSON-B 1.0, corresponding to the Java EE 7 level. This version is end-of-life.

Older releases are available from the Apache archives.