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
The SerializerSettings.DefaultStyle property seems to have no effect. The following code still produces a block syntax (SharpYaml v1.6.5.0):
SerializerSettings.DefaultStyle
var serializer = new Serializer(new SerializerSettings { DefaultStyle = YamlStyle.Flow }); var text = serializer.Serialize(new { List = new List<int> { 1, 2, 3 }, Name = "Hello", Value = "World!" }); Console.WriteLine(text); // Outputs: // List: // - 1 // - 2 // - 3 // Name: Hello // Value: World!
Any idea why?
The text was updated successfully, but these errors were encountered:
Fix serialization with DefaultStyle set to Flow (xoofx#70)
c07b87c
Merge pull request #72 from yariker/issue_70
efc09a7
Fix serialization with DefaultStyle set to Flow (#70)
No branches or pull requests
The
SerializerSettings.DefaultStyle
property seems to have no effect. The following code still produces a block syntax (SharpYaml v1.6.5.0):Any idea why?
The text was updated successfully, but these errors were encountered: