We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, Is it possible to configure js yaml to always quote strings? Say that I have {include_lines: ['a', 'b']} I'd like it to be dumped as:
-include_lines - 'a' - 'b'
At the moment it does not get quoted. My use case is filebeat, which does not recognized unescaped fields
The text was updated successfully, but these errors were encountered:
This dupes #454.
You can just write JSON and rename it to .yml for your task.
.yml
Sorry, something went wrong.
Added forceQuotes option in 7b256d7 (currently in dev branch).
forceQuotes
No branches or pull requests
Hi,
Is it possible to configure js yaml to always quote strings?
Say that I have {include_lines: ['a', 'b']} I'd like it to be dumped as:
At the moment it does not get quoted. My use case is filebeat, which does not recognized unescaped fields
The text was updated successfully, but these errors were encountered: