Class JsonProviderImpl

    • Field Detail

      • readerFactory

        private final jakarta.json.JsonReaderFactory readerFactory
      • parserFactory

        private final jakarta.json.stream.JsonParserFactory parserFactory
      • generatorFactory

        private final jakarta.json.stream.JsonGeneratorFactory generatorFactory
      • writerFactory

        private final jakarta.json.JsonWriterFactory writerFactory
      • builderFactory

        private final Supplier<jakarta.json.JsonBuilderFactory> builderFactory
      • maxBigDecimalScale

        private int maxBigDecimalScale
    • Constructor Detail

      • JsonProviderImpl

        public JsonProviderImpl()
    • Method Detail

      • createParser

        public jakarta.json.stream.JsonParser createParser​(InputStream in)
        Specified by:
        createParser in class jakarta.json.spi.JsonProvider
      • createParser

        public jakarta.json.stream.JsonParser createParser​(Reader reader)
        Specified by:
        createParser in class jakarta.json.spi.JsonProvider
      • createReader

        public jakarta.json.JsonReader createReader​(InputStream in)
        Specified by:
        createReader in class jakarta.json.spi.JsonProvider
      • createReader

        public jakarta.json.JsonReader createReader​(Reader reader)
        Specified by:
        createReader in class jakarta.json.spi.JsonProvider
      • createParserFactory

        public jakarta.json.stream.JsonParserFactory createParserFactory​(Map<String,​?> config)
        Specified by:
        createParserFactory in class jakarta.json.spi.JsonProvider
      • createReaderFactory

        public jakarta.json.JsonReaderFactory createReaderFactory​(Map<String,​?> config)
        Specified by:
        createReaderFactory in class jakarta.json.spi.JsonProvider
      • createGenerator

        public jakarta.json.stream.JsonGenerator createGenerator​(Writer writer)
        Specified by:
        createGenerator in class jakarta.json.spi.JsonProvider
      • createGenerator

        public jakarta.json.stream.JsonGenerator createGenerator​(OutputStream out)
        Specified by:
        createGenerator in class jakarta.json.spi.JsonProvider
      • createGeneratorFactory

        public jakarta.json.stream.JsonGeneratorFactory createGeneratorFactory​(Map<String,​?> config)
        Specified by:
        createGeneratorFactory in class jakarta.json.spi.JsonProvider
      • createWriter

        public jakarta.json.JsonWriter createWriter​(Writer writer)
        Specified by:
        createWriter in class jakarta.json.spi.JsonProvider
      • createWriter

        public jakarta.json.JsonWriter createWriter​(OutputStream out)
        Specified by:
        createWriter in class jakarta.json.spi.JsonProvider
      • createWriterFactory

        public jakarta.json.JsonWriterFactory createWriterFactory​(Map<String,​?> config)
        Specified by:
        createWriterFactory in class jakarta.json.spi.JsonProvider
      • createObjectBuilder

        public jakarta.json.JsonObjectBuilder createObjectBuilder()
        Specified by:
        createObjectBuilder in class jakarta.json.spi.JsonProvider
      • createObjectBuilder

        public jakarta.json.JsonObjectBuilder createObjectBuilder​(jakarta.json.JsonObject jsonObject)
        Overrides:
        createObjectBuilder in class jakarta.json.spi.JsonProvider
      • createObjectBuilder

        public jakarta.json.JsonObjectBuilder createObjectBuilder​(Map<String,​?> initialValues)
        Overrides:
        createObjectBuilder in class jakarta.json.spi.JsonProvider
      • createArrayBuilder

        public jakarta.json.JsonArrayBuilder createArrayBuilder()
        Specified by:
        createArrayBuilder in class jakarta.json.spi.JsonProvider
      • createArrayBuilder

        public jakarta.json.JsonArrayBuilder createArrayBuilder​(jakarta.json.JsonArray initialData)
        Overrides:
        createArrayBuilder in class jakarta.json.spi.JsonProvider
      • createArrayBuilder

        public jakarta.json.JsonArrayBuilder createArrayBuilder​(Collection<?> initialData)
        Overrides:
        createArrayBuilder in class jakarta.json.spi.JsonProvider
      • createValue

        public jakarta.json.JsonString createValue​(String value)
        Overrides:
        createValue in class jakarta.json.spi.JsonProvider
      • createValue

        public jakarta.json.JsonNumber createValue​(int value)
        Overrides:
        createValue in class jakarta.json.spi.JsonProvider
      • createValue

        public jakarta.json.JsonNumber createValue​(long value)
        Overrides:
        createValue in class jakarta.json.spi.JsonProvider
      • createValue

        public jakarta.json.JsonNumber createValue​(double value)
        Overrides:
        createValue in class jakarta.json.spi.JsonProvider
      • createValue

        public jakarta.json.JsonNumber createValue​(BigDecimal value)
        Overrides:
        createValue in class jakarta.json.spi.JsonProvider
      • createValue

        public jakarta.json.JsonNumber createValue​(Number number)
        Overrides:
        createValue in class jakarta.json.spi.JsonProvider
      • createValue

        public jakarta.json.JsonNumber createValue​(BigInteger value)
        Overrides:
        createValue in class jakarta.json.spi.JsonProvider
      • createBuilderFactory

        public jakarta.json.JsonBuilderFactory createBuilderFactory​(Map<String,​?> config)
        Specified by:
        createBuilderFactory in class jakarta.json.spi.JsonProvider
      • createPatchBuilder

        public jakarta.json.JsonPatchBuilder createPatchBuilder()
        Overrides:
        createPatchBuilder in class jakarta.json.spi.JsonProvider
      • createPatchBuilder

        public jakarta.json.JsonPatchBuilder createPatchBuilder​(jakarta.json.JsonArray initialData)
        Overrides:
        createPatchBuilder in class jakarta.json.spi.JsonProvider
      • createPointer

        public jakarta.json.JsonPointer createPointer​(String path)
        Overrides:
        createPointer in class jakarta.json.spi.JsonProvider
      • createPatch

        public jakarta.json.JsonPatch createPatch​(jakarta.json.JsonArray array)
        Overrides:
        createPatch in class jakarta.json.spi.JsonProvider
      • createDiff

        public jakarta.json.JsonPatch createDiff​(jakarta.json.JsonStructure source,
                                                 jakarta.json.JsonStructure target)
        Overrides:
        createDiff in class jakarta.json.spi.JsonProvider
      • createMergePatch

        public jakarta.json.JsonMergePatch createMergePatch​(jakarta.json.JsonValue patch)
        Overrides:
        createMergePatch in class jakarta.json.spi.JsonProvider
      • createMergeDiff

        public jakarta.json.JsonMergePatch createMergeDiff​(jakarta.json.JsonValue source,
                                                           jakarta.json.JsonValue target)
        Overrides:
        createMergeDiff in class jakarta.json.spi.JsonProvider
      • getMaxBigDecimalScale

        public int getMaxBigDecimalScale()
      • setMaxBigDecimalScale

        public void setMaxBigDecimalScale​(int maxBigDecimalScale)
      • checkBigDecimalScale

        public void checkBigDecimalScale​(BigDecimal value)