1 write to UnknownTypeHandling
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
ProblemDetailsJsonConverterTest.cs (1)
106
var serializerOptions = new JsonSerializerOptions(JsonSerializerOptions) {
UnknownTypeHandling
= System.Text.Json.Serialization.JsonUnknownTypeHandling.JsonNode };
7 references to UnknownTypeHandling
System.Text.Json (7)
src\libraries\System.Text.Json\Common\JsonSourceGenerationOptionsAttribute.cs (1)
134
/// Specifies the default value of <see cref="JsonSerializerOptions.
UnknownTypeHandling
"/> when set.
System\Text\Json\Nodes\JsonNode.cs (1)
13
/// <seealso cref="JsonSerializerOptions.
UnknownTypeHandling
"/> to specify that a type
System\Text\Json\Serialization\Attributes\JsonExtensionDataAttribute.cs (1)
17
/// <see cref="JsonElement"/> depending on the value of <see cref="System.Text.Json.JsonSerializerOptions.
UnknownTypeHandling
"/>.
System\Text\Json\Serialization\Converters\Object\ObjectConverter.cs (4)
102
if (options.
UnknownTypeHandling
== JsonUnknownTypeHandling.JsonElement)
107
Debug.Assert(options.
UnknownTypeHandling
== JsonUnknownTypeHandling.JsonNode);
115
if (options.
UnknownTypeHandling
== JsonUnknownTypeHandling.JsonElement)
133
Debug.Assert(options.
UnknownTypeHandling
== JsonUnknownTypeHandling.JsonNode);