-
Notifications
You must be signed in to change notification settings - Fork 140
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
Add flag to emit multiline strings #132
base: master
Are you sure you want to change the base?
Conversation
This ensures typing between loading an emitting.
See this as WIP for now -- there is only one (doc) test for it and I'm currently integration this into serde_yaml, and then use it in a project. |
0f1604a
to
0d4d5da
Compare
self.multiline_strings = multiline_strings | ||
} | ||
|
||
/// Determine if this emitter will wrap all strings in double-quotes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
copy and paste ;)
@killercup See merge request #137 |
I realize this is now very old, but would be great to have this functionality. Maybe this could be a candidate for merging if someone forks the project... |
based on #129 as it would otherwise conflict quite easily