Class NdjsonToMessageReader

java.lang.Object
io.cucumber.messages.NdjsonToMessageReader
All Implemented Interfaces:
AutoCloseable

public final class NdjsonToMessageReader extends Object implements AutoCloseable
Reads messages from a stream.

The stream should contain a a sequence of json objects separated by a new line character. The objects will be deserialized to Envelopes.