Module jakarta.json
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
.
Unless otherwise noted, passing a null argument to a constructor or method
in any class or interface in this package will cause a NullPointerException
to be thrown.
- Since:
- JSON Processing 1.0