wrap
A collection of pipes to wrap streams inside objects.
A collection of pipes to wrap streams inside objects.
Value members
Concrete methods
Wraps the stream elements as an array inside an object at the given at
key.
The object also contains the keys from the in
map if any.
If mapFirst
is true, then the map elements are emitted first, then the stream, otherwise the stream is emitted first.
Wraps the stream elements as an array inside an object at the given at
key.
The object also contains the keys from the in
map if any.
If mapFirst
is true, then the map elements are emitted first, then the stream, otherwise the stream is emitted first.
The resulting token stream is a valid single JSON object stream, iff the original stream is a valid stream of JSON values.
Wraps the stream elements as an array at top-level.
Wraps the stream elements as an array at top-level.
The resulting token stream is a valid single JSON array stream, iff the original stream is a valid stream of JSON values.
Wraps the stream element as a single value inside an object at the given at
key.
The object also contains the keys from the in
map if any.
If mapFirst
is true, then the map elements are emitted first, then the stream, otherwise the stream is emitted first.
Wraps the stream element as a single value inside an object at the given at
key.
The object also contains the keys from the in
map if any.
If mapFirst
is true, then the map elements are emitted first, then the stream, otherwise the stream is emitted first.
The resulting token stream is a valid single JSON object stream, iff the original stream is a valid stream of a single JSON value.