stcarrez / ada-util

Ada Utility Library - Composing streams, processes, logs, serialization, encoders and more
Apache License 2.0
69 stars 14 forks source link

Support indentation when writing JSON streams #55

Open stcarrez opened 4 weeks ago

stcarrez commented 4 weeks ago

The current JSON stream generation is produced on a single line without spaces. This is good to API generation but produces a JSON which is harder to read by humans. It can be passed to json_pp but this is not always easy to do.

Similar to the XML, an indentation level could be added.