Package jakarta.json.spi
package jakarta.json.spi
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