Is your feature request related to a problem? Please describe.
As we are generating rather huge (> 1GB) json files using this library, saving multiple characters on every line while keeping the results easily readable would be a huge bonus.
Describe the solution you'd like
Add a flag to use a tab character (\t) as indentation.
Describe alternatives you've considered
I can easily post-process the generated json file by passing it through jq or other alternatives, but it would be nice if the library would support this out of the box. Using the two-spaces flag already helps, but also alters the readability in case we need to go through the json by hand.
Additional context
Obviously it would be nice if that format would also be readable by the library again. In my tests this has not worked yet.
This feature is absolutely not necessary and not at all time-critical. Just a nice thing to have in the future. 🙂
Is your feature request related to a problem? Please describe.
As we are generating rather huge (> 1GB) json files using this library, saving multiple characters on every line while keeping the results easily readable would be a huge bonus.
Describe the solution you'd like
Add a flag to use a tab character (
\t) as indentation.Describe alternatives you've considered
I can easily post-process the generated json file by passing it through
jqor other alternatives, but it would be nice if the library would support this out of the box. Using the two-spaces flag already helps, but also alters the readability in case we need to go through the json by hand.Additional context
Obviously it would be nice if that format would also be readable by the library again. In my tests this has not worked yet.
This feature is absolutely not necessary and not at all time-critical. Just a nice thing to have in the future. 🙂