Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encoding options #2

Open
simonprev opened this issue Feb 15, 2016 · 0 comments
Open

Encoding options #2

simonprev opened this issue Feb 15, 2016 · 0 comments
Assignees

Comments

@simonprev
Copy link

Hi, thanks for this lib. It seems that this is the only erlang/elixir library with "encoding" support 😄 (From a data structure to actual YAML content).

It seems that there are no options when encoding values.

  • Double quotes around values. This could optional and only done when the content needs to have quote to be valid.
  • Keys as atom. The only way to not print the keys inside double quotes is to use atom.
  • Data type casting for value like "true", "false"...

I don’t know if this make sense for this library, feel free to close if it is not in the scope of the project.

Thank you!

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

No branches or pull requests

3 participants