Package org.bson.json

Class StrictCharacterStreamJsonWriter

  • All Implemented Interfaces:
    StrictJsonWriter


    public final class StrictCharacterStreamJsonWriter
    extends Object
    implements StrictJsonWriter
    A class that writes JSON texts as a character stream via a provided Writer.
    Since:
    3.5
    • Constructor Detail

      • StrictCharacterStreamJsonWriter

        public StrictCharacterStreamJsonWriter​(Writer writer,
                                               StrictCharacterStreamJsonWriterSettings settings)
        Construct an instance.
        Parameters:
        writer - the writer to write JSON to.
        settings - the settings to apply to this writer.