21 references to Deserialize
Microsoft.AspNetCore.Components (1)
PersistentComponentState.cs (1)
107instance = JsonSerializer.Deserialize<TValue>(ref reader, JsonSerializerOptionsProvider.Options)!;
Microsoft.AspNetCore.Http.Abstractions.Tests (4)
HttpValidationProblemDetailsJsonConverterTest.cs (2)
63var problemDetails = JsonSerializer.Deserialize<HttpValidationProblemDetails>(ref reader, JsonSerializerOptions); 106var problemDetails = JsonSerializer.Deserialize<HttpValidationProblemDetails>(ref reader, JsonSerializerOptions);
ProblemDetailsJsonConverterTest.cs (2)
46var problemDetails = JsonSerializer.Deserialize<ProblemDetails>(ref reader, JsonSerializerOptions); 141var problemDetails = JsonSerializer.Deserialize<ProblemDetails>(ref reader, JsonSerializerOptions);
Microsoft.AspNetCore.Mvc.Core.Test (2)
Infrastructure\ValidationProblemDetailsJsonConverterTest.cs (2)
30var problemDetails = JsonSerializer.Deserialize<ValidationProblemDetails>(ref reader, JsonSerializerOptions); 72var problemDetails = JsonSerializer.Deserialize<ValidationProblemDetails>(ref reader, JsonSerializerOptions);
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Protocol\Converters\InitializeParamsWorkspaceFoldersConverter.cs (1)
31return JsonSerializer.Deserialize<WorkspaceFolder[]>(ref reader, options) ?? [];
Protocol\Converters\NaturalObjectConverter.cs (1)
67return JsonSerializer.Deserialize<JsonElement>(ref reader);
Protocol\Converters\TextDocumentSyncConverter.cs (1)
38return JsonSerializer.Deserialize<TextDocumentSyncOptions>(ref reader, options)!;
Protocol\Extensions\Converters\VSExtensionConverter.cs (1)
25return JsonSerializer.Deserialize<TExtension>(ref reader, options);
Microsoft.Extensions.Caching.Hybrid (1)
Internal\DefaultJsonSerializerFactory.cs (1)
26return JsonSerializer.Deserialize<T>(ref reader)!;
Microsoft.ML.SearchSpace (9)
Converter\ChoiceOptionConverter.cs (1)
30var schema = JsonSerializer.Deserialize<Schema>(ref reader, options);
Converter\NumericOptionConverter.cs (1)
39var schema = JsonSerializer.Deserialize<Schema>(ref reader, options);
Converter\OptionConverter.cs (3)
20return JsonSerializer.Deserialize<SearchSpace>(ref reader, options); 29return JsonSerializer.Deserialize<ChoiceOption>(ref reader, options); 38return JsonSerializer.Deserialize<UniformNumericOption>(ref reader, options);
Converter\ParameterConverter.cs (3)
20var array = JsonSerializer.Deserialize<Dictionary<string, Parameter>>(ref reader, options).ToArray(); 23return Parameter.FromString(JsonSerializer.Deserialize<string>(ref reader, options)); 34return Parameter.FromDouble(JsonSerializer.Deserialize<double>(ref reader, options));
Converter\SearchSpaceConverter.cs (1)
18var optionKVPairs = JsonSerializer.Deserialize<Dictionary<string, OptionBase>>(ref reader, options);