Class JSONProviderFactory


  • public final class JSONProviderFactory
    extends java.lang.Object
    Factory to instantiate a JSONProvider. As the JSONProvider is considered Thread Safe and instantiating it is quite expensive in terms of memory consumption, this factory will ensure that there is only instance created.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static javax.json.spi.JsonProvider getJSONProvider()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getJSONProvider

        public static javax.json.spi.JsonProvider getJSONProvider()
        Returns:
        JSONProvider instance