Registry / web-framework / jersey-media-json-binding

jersey-media-json-binding

JSON →
library4.0.2javamavenunverified

Provides JSON-B (JSON Binding) support for Jersey, enabling automatic serialization and deserialization of Java objects to/from JSON.

<dependency> <groupId>org.glassfish.jersey.media</groupId> <artifactId>jersey-media-json-binding</artifactId> <version>4.0.2</version> </dependency>
INSTALL
IMPORT
SIG · JERSEY-MEDIA-JSON-
J
jersey-media-json-binding
web-frameworkjavav4.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

JsonBindingFeature
org.glassfish.jersey.jsonb.JsonBindingFeature

Registers the JSON-B feature in a Jersey application.

import org.glassfish.jersey.jsonb.JsonBindingFeature; import org.glassfish.jersey.server.ResourceConfig; public class App { public static void main(String[] args) { ResourceConfig config = new ResourceConfig() .register(JsonBindingFeature.class); System.out.println("JSON-B support registered."); } }
Debug
Known issues
breakingJersey 4.x requires Jakarta EE 10; ensure your application uses Jakarta namespace (jakarta.ws.rs) instead of javax.
fix
Update imports to use jakarta.ws.rs packages and ensure your runtime supports Jakarta EE 10.
affects: >=4.0.0
Upgrade
Version history
4.0.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
jersey-media-json-binding — mvn dependency:get jersey-media-json-binding · libregistry