Skip to content

Commit fe458e6

Browse files
committed
Fix HexStringToArrayJsonConverter returns empty array
1 parent 2205ecc commit fe458e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Utility/Json/Converters/HexStringToArrayJsonConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public class HexStringToArrayJsonConverter<TStruct> : JsonConverter<TStruct[]?>
1919

2020
public override unsafe TStruct[]? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
2121
{
22-
if (reader.ValueSequence.IsEmpty)
22+
if (reader.ValueSpan.IsEmpty)
2323
{
2424
return [];
2525
}

0 commit comments

Comments
 (0)