render
Json Token stream pipes to render Json values.
Attributes
- Source
- package.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
render.type
Members list
Value members
Concrete methods
Renders a compact representation of the Json token stream.
Renders a compact representation of the Json token stream.
Chunks can be concatenated to render all values in the stream, separated by new lines.
You can use this to write the Json stream to a file.
Attributes
- Source
- package.scala
Renders a pretty-printed representation of the token stream with the given indentation size and page width.
Renders a pretty-printed representation of the token stream with the given indentation size and page width.
Chunks can be concatenated to render all values in the stream, separated by new lines.
You can use this to write the Json stream to a file.
You can configure how the stream is rendered by providing an instance of Renderable in scope. A default one is automatically provided if you do not need specific formatting.
Attributes
- Source
- package.scala
Deprecated methods
Renders a pretty-printed representation of the token stream with the given indentation size.
Renders a pretty-printed representation of the token stream with the given indentation size.
Chunks can be concatenated to render all values in the stream, separated by new lines.
You can use this to write the Json stream to a file.
Attributes
- Deprecated
-
[Since version fs2-data 1.11.0]
Consider using `fs2.data.json.render.prettyPrint` instead. - Source
- package.scala