JakeWharton / picnic

A Kotlin DSL and Java/Kotlin builder API for constructing HTML-like tables which can be rendered to text
Apache License 2.0
933 stars 33 forks source link

Feature request: CSV (or DSV) rendering #79

Open e13mort opened 8 months ago

e13mort commented 8 months ago

Thank's for the great library. I use it in some of my projects and very happy with results (especially combined with Mosaic).

In one of my projects I've faced with requirement to output data as CSV along with human-readable tables. I've came up with my own solution (not a rocket science) and got thinking that there could be some CSV related API in Picnic.

So my questions are:

Thank you

JakeWharton commented 8 months ago

I don't think it makes sense to include directly, but rather as a companion library. I personally don't use CSV or DSV and don't feel qualified to maintain such a thing. I made the mistake in my last table library of adding support for ResultSet conversion for databases, and regretted it more than once.