We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An example is ImmutableArray which is a struct. Discovered when fixing https://github.com/dotnet/corefx/issues/41598.
Should throw JsonException instead.
JsonException
The text was updated successfully, but these errors were encountered:
There's also an issue with nullable value-type collections. From @ahsonkhan in dotnet/corefx#42420 (comment):
As an aside, looks like nullable ImmutableArray breaks:
Console.WriteLine(JsonSerializer.Deserialize<ImmutableArray<DateTime>?>("null") == null);
Unhandled exception. System.ArgumentNullException: Value cannot be null. at System.RuntimeType.MakeGenericType(Type[] instantiation)
Sorry, something went wrong.
Closing as duplicate of #1037.
layomia
No branches or pull requests
An example is ImmutableArray which is a struct. Discovered when fixing https://github.com/dotnet/corefx/issues/41598.
Should throw
JsonException
instead.The text was updated successfully, but these errors were encountered: