From 220e778a76791bfac4f2189b2e0eb7107729020c Mon Sep 17 00:00:00 2001 From: Chris Cameron Date: Wed, 18 Jul 2018 13:41:27 -0400 Subject: [PATCH] fix: Dammit Jeff --- ICD.Common.Utils/Json/JsonItemWrapper.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ICD.Common.Utils/Json/JsonItemWrapper.cs b/ICD.Common.Utils/Json/JsonItemWrapper.cs index b5d8d8d..d455717 100644 --- a/ICD.Common.Utils/Json/JsonItemWrapper.cs +++ b/ICD.Common.Utils/Json/JsonItemWrapper.cs @@ -71,8 +71,12 @@ namespace ICD.Common.Utils.Json string itemString = (string)token.SelectToken(ITEM_TOKEN); Type type = Type.GetType(typeString); + if (type == null) + { typeString = AddSimplSharpSuffix(typeString); + type = Type.GetType(typeString); + } return JsonConvert.DeserializeObject(itemString, type); }