JakeWharton / JakeWharton/picnic

Feature request: CSV (or DSV) rendering

Open
#79 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
975
Forks
34
Avg merge
3h 23m
Merged PRs (30d)
13

Description

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.

- CSV (or more general DSV) format has no different in meaning from ASCII tables
- Such new rendering API could benefit from existing Mosaic API (rows, columns, cell, columnSpan)
- On the other side new API could contradict the single responsibility principle of the library (only ASCII tables)

So my questions are:
- what do you think about supporting CSV?
- if it works will you add that API in some future?
- may I help with this?

Thank you

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing Picnic's existing Mosaic API and ASCII-table rendering path; the issue names no files or tests. Before coding, get a decision on CSV versus general DSV and the API scope; done would be an agreed rendering API with expected output covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.