15 references to Deserialize
Aspire.Dashboard (11)
Model\GenAI\GenAIMessages.cs (11)
224MessagePart.TextType => doc.RootElement.Deserialize<TextPart>(options), 225MessagePart.ToolCallType => TryParseStringArguments(doc.RootElement.Deserialize<ToolCallRequestPart>(options)), 226MessagePart.ToolCallResponseType => doc.RootElement.Deserialize<ToolCallResponsePart>(options), 227MessagePart.BlobType => doc.RootElement.Deserialize<BlobPart>(options), 228MessagePart.FileType => doc.RootElement.Deserialize<FilePart>(options), 229MessagePart.UriType => doc.RootElement.Deserialize<UriPart>(options), 230MessagePart.ReasoningType => doc.RootElement.Deserialize<ReasoningPart>(options), 231MessagePart.ServerToolCallType => TryParseServerToolCallArguments(doc.RootElement.Deserialize<ServerToolCallPart>(options)), 232MessagePart.ServerToolCallResponseType => doc.RootElement.Deserialize<ServerToolCallResponsePart>(options), 233_ => doc.RootElement.Deserialize<GenericPart>(options), 243errorPart = doc.RootElement.Deserialize<UnexpectedErrorPart>(options);
Microsoft.AspNetCore.Components.Web (2)
JSComponents\JSComponentInterop.cs (2)
109JsonSerializer.Deserialize<IJSObjectReference>(parameterJsonValue, jsonOptions)), 112JsonSerializer.Deserialize<IJSObjectReference>(parameterJsonValue, jsonOptions)),
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
TargetPickerUi.cs (1)
160var tabsList = tabs.Deserialize<JsonElement[]>();
Microsoft.TestPlatform.CommunicationUtilities (1)
Serialization\StjSafe.cs (1)
46return JsonSerializer.Deserialize<T>(element, options);