-
-
Notifications
You must be signed in to change notification settings - Fork 494
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 format option to YamlMember to define Flow/Block serialization #311
Comments
I agree that this would be helpful to be able to set the |
Maybe an attribute named YamlStyle that would accept the enum with values Flow, Block or Any which would be the default value as in MappingStyle? |
I'd rather use the existing |
Is this problem currently solved? |
i would like to use it like so: Will try to impl... |
Is there a more hacky way to somehow control this? |
I have the following class:
When I serialize it I get:
I would like the property tags to be serialized as flow like:
More control on serialization format would be great because it will help people on editing them,
Maybe adding a new option to YAMLMember as follows:
Does this make sense?
The text was updated successfully, but these errors were encountered: