28 references to Deserialize
BicepSample.ApiService (1)
Program.cs (1)
135entries.Add(JsonSerializer.Deserialize<Entry>(content)!);
dotnet-user-jwts (4)
Helpers\JwtAuthenticationSchemeSettings.cs (2)
19var config = JsonSerializer.Deserialize<JsonObject>(reader, JwtSerializerOptions.Default); 67var config = JsonSerializer.Deserialize<JsonObject>(reader, JwtSerializerOptions.Default);
Helpers\JwtStore.cs (1)
36Jwts = JsonSerializer.Deserialize<IDictionary<string, Jwt>>(fileStream, JwtSerializerOptions.Default) ?? new Dictionary<string, Jwt>();
Helpers\SigningKeysHandler.cs (1)
71secrets = JsonSerializer.Deserialize<JsonObject>(secretsFileStream, JwtSerializerOptions.Default);
Microsoft.AspNetCore.Components.Server (1)
Circuits\CircuitOptionsJavaScriptInitializersConfiguration.cs (1)
24var initializers = JsonSerializer.Deserialize<string[]>(file.CreateReadStream());
Microsoft.AspNetCore.Http.Results.Tests (11)
JsonResultTests.cs (4)
103var responseDetails = JsonSerializer.Deserialize<Todo>(stream); 135var responseDetails = JsonSerializer.Deserialize<ProblemDetails>(stream, JsonSerializerOptions.Web); 164var responseDetails = JsonSerializer.Deserialize<HttpValidationProblemDetails>(stream, JsonSerializerOptions.Web); 196var responseDetails = JsonSerializer.Deserialize<HttpValidationProblemDetails>(stream, JsonSerializerOptions.Web);
ProblemResultTests.cs (5)
38var responseDetails = JsonSerializer.Deserialize<ProblemDetails>(stream, JsonSerializerOptions.Web); 70var responseDetails = JsonSerializer.Deserialize<ProblemDetails>(stream, JsonSerializerOptions.Web); 99var responseDetails = JsonSerializer.Deserialize<HttpValidationProblemDetails>(stream, JsonSerializerOptions.Web); 131var responseDetails = JsonSerializer.Deserialize<HttpValidationProblemDetails>(stream, JsonSerializerOptions.Web); 163var responseDetails = JsonSerializer.Deserialize<HttpValidationProblemDetails>(stream, JsonSerializerOptions.Web);
ValidationProblemResultTests.cs (2)
42var responseDetails = JsonSerializer.Deserialize<ProblemDetails>(stream, JsonSerializerOptions.Web); 74var responseDetails = JsonSerializer.Deserialize<ProblemDetails>(stream, JsonSerializerOptions.Web);
Microsoft.ML.Tokenizers.Tests (6)
TiktokenTests.cs (6)
220int[]? expected = JsonSerializer.Deserialize<int[]>(stream) as int[]; 293int[]? expected = JsonSerializer.Deserialize<int[]>(stream) as int[]; 329int[]? expected = JsonSerializer.Deserialize<int[]>(stream) as int[]; 348int[]? expected = JsonSerializer.Deserialize<int[]>(stream) as int[]; 367int[]? expected = JsonSerializer.Deserialize<int[]>(stream) as int[]; 386int[]? expected = JsonSerializer.Deserialize<int[]>(stream) as int[];
Templates.Blazor.Tests (1)
src\ProjectTemplates\Shared\DevelopmentCertificate.cs (1)
27var certificateAttributes = JsonSerializer.Deserialize<CertificateAttributes>(file) ??
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\ProjectTemplates\Shared\DevelopmentCertificate.cs (1)
27var certificateAttributes = JsonSerializer.Deserialize<CertificateAttributes>(file) ??
Templates.Blazor.WebAssembly.Tests (1)
src\ProjectTemplates\Shared\DevelopmentCertificate.cs (1)
27var certificateAttributes = JsonSerializer.Deserialize<CertificateAttributes>(file) ??
Templates.Mvc.Tests (1)
src\ProjectTemplates\Shared\DevelopmentCertificate.cs (1)
27var certificateAttributes = JsonSerializer.Deserialize<CertificateAttributes>(file) ??
Templates.Tests (1)
src\ProjectTemplates\Shared\DevelopmentCertificate.cs (1)
27var certificateAttributes = JsonSerializer.Deserialize<CertificateAttributes>(file) ??