com.phasmidsoftware.tableparser.json.render.JsonTableRenderer
Class JsonTableRenderer, which will render a Table[T] as a JSON String (see TableCodecs for the format).
Type parameters
- T
-
the underlying type of the Table (i.e., the Row type) for which there must be evidence of Encoder[T].
Attributes
- Graph
-
- Supertypes
-
class Object
trait Matchable
class Any
Members list
Renders a Table[T] object into its JSON string representation.
Renders a Table[T] object into its JSON string representation.
Value parameters
- attrs
-
a map of attributes used for customizing the rendering process (not currently used in this implementation).
- tt
-
the table to be rendered as a JSON string.
Attributes
- Returns
-
a JSON string (indented by two spaces) representing the table.
Render an instance of T as an O, qualifying the rendering with no attributes.
Render an instance of T as an O, qualifying the rendering with no attributes.
Value parameters
- t
-
a T to be rendered.
Attributes
- Returns
-
an instance of type O.
- Inherited from:
-
Renderer