Skip to content

Commit 6245b4e

Browse files
committed
Refactor: use extension method style
1 parent 4a5e7bd commit 6245b4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Thinktecture.Runtime.Extensions.Json/Text/Json/Serialization/ValueObjectJsonConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public ValueObjectJsonConverter(JsonSerializerOptions options)
2626
{
2727
ArgumentNullException.ThrowIfNull(options);
2828

29-
_keyConverter = (JsonConverter<TKey>)JsonSerializerOptionsExtensions.GetCustomValueObjectMemberConverter(options, typeof(TKey));
29+
_keyConverter = (JsonConverter<TKey>)options.GetCustomValueObjectMemberConverter(typeof(TKey));
3030
}
3131

3232
/// <inheritdoc />

0 commit comments

Comments
 (0)