21 references to Null
Microsoft.AspNetCore.Authentication (1)
JsonDocumentAuthExtensions.cs (1)
21
if (element.TryGetProperty(key, out var property) && property.ValueKind != JsonValueKind.
Null
)
Microsoft.AspNetCore.Authentication.Test (2)
JwtBearerTests.cs (1)
999
Assert.Equal(JsonValueKind.
Null
, dom.RootElement.GetProperty("issued").ValueKind);
JwtBearerTests_Handler.cs (1)
942
Assert.Equal(JsonValueKind.
Null
, dom.RootElement.GetProperty("issued").ValueKind);
Microsoft.AspNetCore.Components.Web (3)
JSComponents\JSComponentInterop.cs (1)
132
case JsonValueKind.
Null
:
WebEventData\ChangeEventArgsReader.cs (1)
24
case JsonValueKind.
Null
:
WebEventData\WebEventDescriptorReader.cs (1)
47
if (jsonElement.ValueKind is JsonValueKind.
Null
)
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (2)
ConverterTests\JsonElementComparer.cs (2)
33
case JsonValueKind.
Null
:
112
case JsonValueKind.
Null
:
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Infrastructure\DefaultTempDataSerializer.cs (1)
58
case JsonValueKind.
Null
:
Microsoft.Extensions.AI (1)
ChatCompletion\ChatClientStructuredOutputExtensions.cs (1)
220
JsonValueKind.
Null
=> null,
Microsoft.Extensions.Configuration.Json (1)
JsonConfigurationFileParser.cs (1)
99
case JsonValueKind.
Null
:
System.Text.Json (10)
System\Text\Json\Document\JsonElement.cs (3)
376
/// This value's <see cref="ValueKind"/> is neither <see cref="JsonValueKind.String"/> nor <see cref="JsonValueKind.
Null
"/>.
1281
case JsonValueKind.
Null
or JsonValueKind.False or JsonValueKind.True:
1627
/// For <see cref="JsonValueKind.
Null
"/>, <see cref="string.Empty"/> is returned.
System\Text\Json\Document\JsonValueKind.cs (1)
12
/// Indicates that there is no value (as distinct from <see cref="
Null
"/>).
System\Text\Json\Nodes\JsonArray.cs (1)
197
JsonValueKind.
Null
=> null,
System\Text\Json\Nodes\JsonObject.cs (1)
63
JsonValueKind.
Null
=> null,
System\Text\Json\Nodes\JsonValueOfT.cs (1)
18
Debug.Assert(value is not JsonElement or JsonElement { ValueKind: not JsonValueKind.
Null
});
System\Text\Json\Serialization\Attributes\JsonExtensionDataAttribute.cs (1)
20
/// set to <see cref="JsonValueKind.
Null
"/>, otherwise a "null" JSON value is treated as a <c>null</c> object reference.
System\Text\Json\Serialization\Converters\Node\JsonNodeConverter.cs (1)
66
case JsonValueKind.
Null
:
System\Text\Json\Serialization\JsonSerializer.Read.HandleMetadata.cs (1)
472
JsonValueKind metadataValueKind = jsonNode?.GetValueKind() ?? JsonValueKind.
Null
;