Package no.hasmac.jsonld.json
Class JsonProvider
java.lang.Object
no.hasmac.jsonld.json.JsonProvider
Instead of using the Jakarta Json static class to create builders, it
is much faster to keep track of the provider in a static instance. This
avoids the overhead of doing a service lookup on each call. This improves
performance dramatically (about 200 to 300% for most calls).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
provider
private static jakarta.json.spi.JsonProvider provider
-
-
Constructor Details
-
JsonProvider
private JsonProvider()
-
-
Method Details
-
instance
public static jakarta.json.spi.JsonProvider instance()
-