24 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.TestPlatform.CommunicationUtilities (11)
JsonDataSerializer.Stj.cs (1)
108
result = JsonSerializer.
Deserialize
<T>(payloadElement, payloadOptions);
Serialization\TestCaseConverterV2.cs (1)
52
var testProperty = JsonSerializer.
Deserialize
<TestProperty>(keyElement, options);
Serialization\TestObjectConverter.cs (1)
44
var testProperty = JsonSerializer.
Deserialize
<TestProperty>(keyElement, options);
Serialization\TestResultConverter.cs (4)
27
var testCase = JsonSerializer.
Deserialize
<TestCase>(testCaseElement, options)!;
37
testResult.Attachments.Add(JsonSerializer.
Deserialize
<AttachmentSet>(attachment, options)!);
49
testResult.Messages.Add(JsonSerializer.
Deserialize
<TestResultMessage>(message, options)!);
63
var testProperty = JsonSerializer.
Deserialize
<TestProperty>(property.GetProperty("Key"), options)!;
Serialization\TestResultConverterV2.cs (4)
30
var testCase = JsonSerializer.
Deserialize
<TestCase>(testCaseElement, options)!;
40
testResult.Attachments.Add(JsonSerializer.
Deserialize
<AttachmentSet>(attachment, options)!);
52
testResult.Messages.Add(JsonSerializer.
Deserialize
<TestResultMessage>(message, options)!);
83
var testProperty = JsonSerializer.
Deserialize
<TestProperty>(keyElement, options)!;