Class JakartaWriter

    • Field Detail

      • writer

        protected final jakarta.json.stream.JsonGenerator writer
    • Constructor Detail

      • JakartaWriter

        public JakartaWriter​(jakarta.json.stream.JsonGenerator writer)
      • JakartaWriter

        protected JakartaWriter​(jakarta.json.stream.JsonGenerator writer,
                                java.util.Deque<java.lang.Object> stack)
    • Method Detail

      • scalar

        protected void scalar​(java.lang.Object node)
                       throws java.io.IOException
        Specified by:
        scalar in class NodeGenerator
        Throws:
        java.io.IOException
      • beginMap

        protected void beginMap()
                         throws java.io.IOException
        Specified by:
        beginMap in class NodeGenerator
        Throws:
        java.io.IOException
      • beginCollection

        protected void beginCollection()
                                throws java.io.IOException
        Specified by:
        beginCollection in class NodeGenerator
        Throws:
        java.io.IOException
      • end

        protected void end()
                    throws java.io.IOException
        Specified by:
        end in class NodeGenerator
        Throws:
        java.io.IOException