Logo
Sign in

Apache Johnzon is a Java library that implements the JSON Processing (JSR-353) and JSON Binding (JSON-B) specifications. It provides a flexible and extensible framework for serializing and deserializing Java objects to and from JSON, with support for REST integration, WebSocket communication, and advanced customization features.

Vendor

Vendor

The Apache Software Foundation

Company Website

Company Website

johnzon_logo.png
Product details

Apache Johnzon

Apache Johnzon is a lightweight and extensible Java library that provides implementations of JSON Processing (JSR-353) and JSON Binding (JSON-B) specifications. It offers a modular framework for serializing and deserializing Java objects to and from JSON, with support for RESTful services, WebSocket integration, and advanced customization through annotations and converters.

Features

  • Full implementation of JSON-P 2.1 and JSON-B 3.0 specifications
  • Object mapping with support for annotations like @JohnzonIgnore, @JohnzonConverter, @JohnzonProperty, and @JohnzonAny
  • JAX-RS providers for seamless REST integration
  • WebSocket module for JSON-based communication
  • Configurable buffer strategies and encoding options
  • Support for strict JSON-P compliance and custom JsonPointer behavior
  • Modular architecture with core, mapper, JAX-RS, and WebSocket components

Capabilities

  • Serialization and deserialization of Java objects to JSON with fine-grained control
  • Custom converters and adapters for advanced data transformation
  • RESTful service support via JAX-RS providers with wildcard media type handling
  • Integration with Jakarta EE and TomEE environments
  • Dynamic configuration of JSON mapping behavior
  • Support for unknown fields and flexible access modes (field, method, strict-method, both)

Benefits

  • Simplifies JSON handling in Java applications
  • Reduces boilerplate code with annotation-driven mapping
  • Enhances performance with optimized buffer and encoding strategies
  • Enables flexible integration with REST and WebSocket APIs
  • Promotes maintainability and extensibility through modular design
  • Open-source and actively maintained by the Apache Software Foundation