wrap
A collection of pipes to wrap streams inside objects.
Attributes
- Source
- package.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
wrap.type
Members list
Value members
Concrete methods
Wraps the stream elements as an array inside an object at the given at
key.
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.
Attributes
- Source
- package.scala
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.
Attributes
- Source
- package.scala
Wraps the stream element as a single value inside an object at the given at
key.
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.
Attributes
- Source
- package.scala