Class JsonWriterImpl

    • Field Detail

      • generator

        private final jakarta.json.stream.JsonGenerator generator
      • called

        private boolean called
      • closed

        private boolean closed
    • Constructor Detail

      • JsonWriterImpl

        JsonWriterImpl​(jakarta.json.stream.JsonGenerator generator)
    • Method Detail

      • writeArray

        public void writeArray​(jakarta.json.JsonArray array)
        Specified by:
        writeArray in interface jakarta.json.JsonWriter
      • writeObject

        public void writeObject​(jakarta.json.JsonObject object)
        Specified by:
        writeObject in interface jakarta.json.JsonWriter
      • write

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

        public void write​(jakarta.json.JsonStructure value)
        Specified by:
        write in interface jakarta.json.JsonWriter
      • close

        public void close()
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface Closeable
        Specified by:
        close in interface jakarta.json.JsonWriter
      • markCalled

        private void markCalled()
      • checkState

        private void checkState()