Skip to content

Commit

Permalink
Fix the README with correct code sample (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
priteshacharya authored Feb 11, 2022
1 parent 0bb6eae commit 409a35d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ services

// Add custom converters. Here, we add all the custom converters in WaySONSerializer, then add another custom MyTypeConverter
// You can add more, or filter some out by not adding them.
foreach (var jsonConverter in WaySONSerializer.Options().JsonConverters())
foreach (var jsonConverter in WaySONSerializer.Options().Converters)
{
options.JsonSerializerOptions.Converters.Add(jsonConverter);
}
Expand Down

0 comments on commit 409a35d

Please sign in to comment.