Closed loynoir closed 1 year ago
I have added the YYJSON_WRITE_PRETTY_TWO_SPACES
flag: https://github.com/ibireme/yyjson/commit/eff456db72844839f248cdaef5b20ae58669b4c4. It doesn't affect performance in benchmark tests.
Supporting variable length indent may cause some performance degradation, so I have not implemented it.
Is your feature request related to a problem? Please describe. Custom indent, for example, 2 space indent.
Describe the solution you'd like Like js
Or like jansson
Describe alternatives you've considered
YYJSON_WRITE_PRETTY_TWO_SPACES
Additional context