elyukai / optolith-client

Optolith Character Manager is a desktop application for The Dark Eye 5th Edition.
https://optolith.app
Other
161 stars 44 forks source link

Make exported Char-JSON multiline #1598

Open Ahrdie opened 1 year ago

Ahrdie commented 1 year ago

Is your feature request related to a problem?

When exporting my char in JSON I saw that it is formatted in a single line. I would like to version my character in a git repo, and would therefor prefer a nicely formatted JSON, where I can see differences by lines.

Describe the solution you'd like

When exporting a character as json, the generated file consists of a formatted multi-line JSON.

Describe alternatives

Leave it in a one-line format as it currently is.

Additional context

As there is no space or speed requirement as in a highly frequented API, I see no reason, why the exported file shouldn't be formatted multiline.