Skip to content

Commit dc030d5

Browse files
authored
Add bool support for JSON arrays
1 parent 0c8244f commit dc030d5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

HashifyNETCLI/Program.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,11 @@ static void PrintProfiles(Type algorithm)
487487
{
488488
array = new BigInteger[values.Count];
489489
}
490-
else
490+
else if (underlyingType == typeof(bool))
491+
{
492+
array = new bool[values.Count];
493+
}
494+
else
491495
{
492496
array = null!;
493497
}

0 commit comments

Comments
 (0)