You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
john.smith
and when i use YamlStream.Load and after that without changing anything i do a Stream.Save( , false) i get the following result:
maintainers:
john.doe
john.smith
When i use the function save, the code removes the empty spaces.
The text was updated successfully, but these errors were encountered:
When the YAML is deserialized (turned from YAML to an object) the whitespace (and comments) will be removed when re-serialized and will be formatted to the yaml spec. There is some options you can change to tweak the resulting output, however, there's nothing to keep the extra whitespace.
I'm also going to close this issue since it's almost 2 years old.
Example
I read the follow example
maintainers:
and when i use YamlStream.Load and after that without changing anything i do a Stream.Save( , false) i get the following result:
maintainers:
When i use the function save, the code removes the empty spaces.
The text was updated successfully, but these errors were encountered: