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

Feature Request: use pretty = FALSE by default #20

Closed
lexjansen opened this issue Sep 20, 2023 · 1 comment
Closed

Feature Request: use pretty = FALSE by default #20

lexjansen opened this issue Sep 20, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@lexjansen
Copy link

lexjansen commented Sep 20, 2023

Feature Idea

Since size has been a concern, it would be good to create Dataset-JSON files that are not 'pretty' formatted.
Current code:
js <- jsonlite::toJSON(
x,
dataframe = "values",
na = "null",
auto_unbox = TRUE,
pretty = pretty)

The default could be pretty = FALSE, with an option to override that behavior.

@lexjansen lexjansen added the enhancement New feature or request label Sep 20, 2023
@mstackhouse
Copy link
Contributor

Thanks for the reminder - I intended to change this.

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