Class MessageToNdjsonWriter

java.lang.Object
io.cucumber.messages.MessageToNdjsonWriter
All Implemented Interfaces:
Flushable, AutoCloseable

public final class MessageToNdjsonWriter extends Object implements AutoCloseable, Flushable
Writes messages to a stream.

The stream will contain a sequence of json objects separated by a \n character. The objects written are the serialized representation of Envelopes.