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