From 7b06dce0237378aaf1a95fa4bb5bcfdfa581b38b Mon Sep 17 00:00:00 2001 From: jcheng Date: Tue, 19 Apr 2022 15:10:19 -0500 Subject: [PATCH] Fix casting issue --- .../Schemas/TrustedJsonFactory.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Microsoft.SystemForCrossDomainIdentityManagement/Schemas/TrustedJsonFactory.cs b/Microsoft.SystemForCrossDomainIdentityManagement/Schemas/TrustedJsonFactory.cs index 6f879798..2593d085 100644 --- a/Microsoft.SystemForCrossDomainIdentityManagement/Schemas/TrustedJsonFactory.cs +++ b/Microsoft.SystemForCrossDomainIdentityManagement/Schemas/TrustedJsonFactory.cs @@ -12,8 +12,7 @@ public class TrustedJsonFactory : JsonFactory public override Dictionary Create(string json) { Dictionary result = - (Dictionary)JsonConvert.DeserializeObject( - json); + JsonConvert.DeserializeObject>(json); return result; }