com.fasterxml.jackson.core.io

Class SegmentedStringWriter

  • All Implemented Interfaces:
    Closeable, Flushable, Appendable, AutoCloseable


    public final class SegmentedStringWriter
    extends Writer
    Efficient alternative to StringWriter, based on using segmented internal buffer. Initial input buffer is also recyclable.

    This class is most useful when serializing JSON content as a String: if so, instance of this class can be given as the writer to JsonGenerator.

    • Constructor Detail

      • SegmentedStringWriter

        public SegmentedStringWriter(BufferRecycler br)

Copyright © 2008–2020 FasterXML. All rights reserved.