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