Skip to content

Commit

Permalink
added new line config
Browse files Browse the repository at this point in the history
  • Loading branch information
mizrael committed Jan 24, 2024
1 parent cb7852c commit 4e0084b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public static SerializerBuilder WithFirstClassModels(this SerializerBuilder buil
.WithNamingConvention(PascalCaseNamingConvention.Instance)
.WithTypeConverter(new ControlPropertyConverter())
.WithTypeConverter(new ControlPropertiesCollectionConverter())
.WithNewLine("\r\n")
.ConfigureDefaultValuesHandling(DefaultValuesHandling.OmitEmptyCollections | DefaultValuesHandling.OmitNull);

return builder;
Expand Down

0 comments on commit 4e0084b

Please sign in to comment.