Class JsonGeneratorImpl

    • Method Detail

      • writeEol

        private void writeEol()
      • writeIndent

        private void writeIndent()
      • writeCachedKey

        private void writeCachedKey​(String name)
      • writeStartObject

        public jakarta.json.stream.JsonGenerator writeStartObject()
        Specified by:
        writeStartObject in interface jakarta.json.stream.JsonGenerator
      • writeStartObject

        public jakarta.json.stream.JsonGenerator writeStartObject​(String name)
        Specified by:
        writeStartObject in interface jakarta.json.stream.JsonGenerator
      • writeStartArray

        public jakarta.json.stream.JsonGenerator writeStartArray()
        Specified by:
        writeStartArray in interface jakarta.json.stream.JsonGenerator
      • writeStartArray

        public jakarta.json.stream.JsonGenerator writeStartArray​(String name)
        Specified by:
        writeStartArray in interface jakarta.json.stream.JsonGenerator
      • writeJsonValue

        private void writeJsonValue​(String name,
                                    jakarta.json.JsonValue value)
      • writeJsonValue

        private void writeJsonValue​(jakarta.json.JsonValue value)
      • write

        public jakarta.json.stream.JsonGenerator write​(String name,
                                                       jakarta.json.JsonValue value)
        Specified by:
        write in interface jakarta.json.stream.JsonGenerator
      • write

        public jakarta.json.stream.JsonGenerator write​(String name,
                                                       String value)
        Specified by:
        write in interface jakarta.json.stream.JsonGenerator
      • write

        public jakarta.json.stream.JsonGenerator write​(String name,
                                                       BigInteger value)
        Specified by:
        write in interface jakarta.json.stream.JsonGenerator
      • write

        public jakarta.json.stream.JsonGenerator write​(String name,
                                                       BigDecimal value)
        Specified by:
        write in interface jakarta.json.stream.JsonGenerator
      • write

        public jakarta.json.stream.JsonGenerator write​(String name,
                                                       int value)
        Specified by:
        write in interface jakarta.json.stream.JsonGenerator
      • write

        public jakarta.json.stream.JsonGenerator write​(String name,
                                                       long value)
        Specified by:
        write in interface jakarta.json.stream.JsonGenerator
      • write

        public jakarta.json.stream.JsonGenerator write​(String name,
                                                       double value)
        Specified by:
        write in interface jakarta.json.stream.JsonGenerator
      • write

        public jakarta.json.stream.JsonGenerator write​(String name,
                                                       boolean value)
        Specified by:
        write in interface jakarta.json.stream.JsonGenerator
      • writeNull

        public jakarta.json.stream.JsonGenerator writeNull​(String name)
        Specified by:
        writeNull in interface jakarta.json.stream.JsonGenerator
      • writeEnd

        public jakarta.json.stream.JsonGenerator writeEnd()
        Specified by:
        writeEnd in interface jakarta.json.stream.JsonGenerator
      • write

        public jakarta.json.stream.JsonGenerator write​(jakarta.json.JsonValue value)
        Specified by:
        write in interface jakarta.json.stream.JsonGenerator
      • write

        public jakarta.json.stream.JsonGenerator write​(String value)
        Specified by:
        write in interface jakarta.json.stream.JsonGenerator
      • write

        public jakarta.json.stream.JsonGenerator write​(BigDecimal value)
        Specified by:
        write in interface jakarta.json.stream.JsonGenerator
      • write

        public jakarta.json.stream.JsonGenerator write​(BigInteger value)
        Specified by:
        write in interface jakarta.json.stream.JsonGenerator
      • write

        public jakarta.json.stream.JsonGenerator write​(int value)
        Specified by:
        write in interface jakarta.json.stream.JsonGenerator
      • write

        public jakarta.json.stream.JsonGenerator write​(long value)
        Specified by:
        write in interface jakarta.json.stream.JsonGenerator
      • write

        public jakarta.json.stream.JsonGenerator write​(double value)
        Specified by:
        write in interface jakarta.json.stream.JsonGenerator
      • write

        public jakarta.json.stream.JsonGenerator write​(boolean value)
        Specified by:
        write in interface jakarta.json.stream.JsonGenerator
      • writeNull

        public jakarta.json.stream.JsonGenerator writeNull()
        Specified by:
        writeNull in interface jakarta.json.stream.JsonGenerator
      • writeKey

        public jakarta.json.stream.JsonGenerator writeKey​(String key)
        Specified by:
        writeKey in interface jakarta.json.stream.JsonGenerator
      • close

        public void close()
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface Closeable
        Specified by:
        close in interface jakarta.json.stream.JsonGenerator
      • flush

        public void flush()
        Specified by:
        flush in interface Flushable
        Specified by:
        flush in interface jakarta.json.stream.JsonGenerator
      • flushBuffer

        private void flushBuffer()
      • writeEscaped0

        private void writeEscaped0​(String value)
      • toUnicode

        private static String toUnicode​(char c)
      • justWrite

        private void justWrite​(String value)
      • justWrite

        private void justWrite​(char value)
      • checkObject

        private void checkObject()
      • checkArrayOrValue

        private void checkArrayOrValue()
      • checkDoubleRange

        private static void checkDoubleRange​(double value)
      • prepareValue

        private void prepareValue()
      • alignState

        private void alignState()
      • writeValueAsJsonString

        private void writeValueAsJsonString​(String value)
      • writeValue

        private void writeValue​(String value)
      • writeValue

        private void writeValue​(int value)
      • writeValue

        private void writeValue​(long value)
      • writeLong0

        private void writeLong0​(long i)
      • writeInt0

        private void writeInt0​(int i)