Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output formatting #6

Open
icanzilb opened this issue Sep 1, 2022 · 1 comment
Open

Output formatting #6

icanzilb opened this issue Sep 1, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@icanzilb
Copy link
Collaborator

icanzilb commented Sep 1, 2022

Similarly to JSONEncoder.outputFormatting support various options to format the output:

  • maybe add the compact option here to make the output smaller in size?
  • add an option to encode new lines as \n to preserve the rows
@icanzilb icanzilb added the enhancement New feature or request label Sep 1, 2022
@DivineDominion
Copy link
Contributor

Suggestions from my personal wishlist for export formatting options:

  • 1 space of padding between content and pipe, | price | instead of |price|
  • support for optional leading and trailing pipes, so that a | b | c and | a | b | c | and | a | b | c and a | b | c | would be valid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants