9 references to Default
Microsoft.AspNetCore.Http.Extensions.Tests (2)
ProblemDetailsDefaultWriterTest.cs (2)
87
var result = await JsonSerializer.DeserializeAsync<Dictionary<string, object>>(stream, JsonSerializerOptions.
Default
);
119
var result = await JsonSerializer.DeserializeAsync<Dictionary<string, object>>(stream, JsonSerializerOptions.
Default
);
Microsoft.AspNetCore.OpenApi.Tests (1)
Extensions\JsonTypeInfoExtensionsTests.cs (1)
67
var jsonTypeInfo = JsonSerializerOptions.
Default
.GetTypeInfo(type);
Microsoft.Extensions.Caching.Hybrid (1)
Internal\DefaultJsonSerializerFactory.cs (1)
36
JsonSerializer.Serialize<T>(writer, value, JsonSerializerOptions.
Default
);
System.Text.Json (4)
System\Text\Json\Nodes\JsonNode.cs (1)
389
var jsonTypeInfo = (JsonTypeInfo<T>)JsonSerializerOptions.
Default
.GetTypeInfo(typeof(T));
System\Text\Json\Nodes\JsonValue.cs (1)
67
var jsonTypeInfo = (JsonTypeInfo<T>)JsonSerializerOptions.
Default
.GetTypeInfo(typeof(T));
System\Text\Json\Serialization\JsonSerializer.Helpers.cs (1)
37
options ??= JsonSerializerOptions.
Default
;
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.cs (1)
14
/// The contract resolver used by <see cref="JsonSerializerOptions.
Default
"/>.
TestProject.AppHost (1)
TestProgram.cs (1)
173
await Console.Out.WriteLineAsync("$ENDPOINTS: " + JsonSerializer.Serialize(root, JsonSerializerOptions.
Default
));