atorus-research / datasetjson

Read and write CDISC Dataset JSON files
https://atorus-research.github.io/datasetjson/
Apache License 2.0
12 stars 2 forks source link

Feature Request: use pretty = FALSE by default #20

Closed lexjansen closed 11 months ago

lexjansen commented 11 months ago

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.

mstackhouse commented 11 months ago

Thanks for the reminder - I intended to change this.