Skip navigation links

Package jakarta.json.spi

Service Provider Interface (SPI) to plug in implementations for JSON processing objects.

See: Description

Package jakarta.json.spi Description

Service Provider Interface (SPI) to plug in implementations for JSON processing objects.

JsonProvider is an abstract class that provides a service for creating JSON processing instances. A service provider for JsonProvider provides an specific implementation by subclassing and implementing the methods in JsonProvider. This enables using custom, efficient JSON processing implementations (for e.g. parser and generator) other than the default ones.

The API locates and loads providers using ServiceLoader.

Since:
JSON Processing 1.0
Skip navigation links