Skip to content

Commit 7b06dce

Browse files
author
jcheng
committed
Fix casting issue
1 parent 269e572 commit 7b06dce

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Microsoft.SystemForCrossDomainIdentityManagement/Schemas/TrustedJsonFactory.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ public class TrustedJsonFactory : JsonFactory
1212
public override Dictionary<string, object> Create(string json)
1313
{
1414
Dictionary<string, object> result =
15-
(Dictionary<string, object>)JsonConvert.DeserializeObject(
16-
json);
15+
JsonConvert.DeserializeObject<Dictionary<string, object>>(json);
1716
return result;
1817
}
1918

0 commit comments

Comments
 (0)