Skip to content
This repository has been archived by the owner on Oct 7, 2022. It is now read-only.

Yaml formatting could be better #36

Closed
Boscop opened this issue Sep 30, 2017 · 2 comments
Closed

Yaml formatting could be better #36

Boscop opened this issue Sep 30, 2017 · 2 comments

Comments

@Boscop
Copy link

Boscop commented Sep 30, 2017

With the yaml feature the db file looks like this:

---
Key: "---\nasd: []\nfoo: \n  bar: []\n  baz: 0"

This isn't really human readable/editable because of the newlines and whitespace sensitivity in the string.
Was it really intended to store it like that (value as escaped string)?

Btw, what do you think of RON as an option?

@TheNeikos
Copy link
Owner

That seems to be a limitation of the yaml library? All we do is write whatever encode gives us back. If you have any backward compatible ideas I'm happy to merge them!

RON sounds like a good addition. I would support adding it as a backend, maybe you can open a seperate issue/PR for it?

@TheNeikos
Copy link
Owner

Looks like this is a technical issue, so unless things happen in the yaml library this won't change.

Feel free to re-open if anything changes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants