Removing bad token type check from AbstractGenericJsonConverter

This commit is contained in:
Chris Cameron
2018-02-15 16:34:25 -05:00
parent 45d88b1efb
commit ee03f85704
2 changed files with 13 additions and 3 deletions

View File

@@ -0,0 +1,13 @@
using NUnit.Framework;
namespace ICD.Common.Utils.Tests.Json
{
public abstract class AbstractGenericJsonConverterTest
{
[Test]
public abstract void WriteJsonTest();
[Test]
public abstract void ReadJsonTest();
}
}

View File

@@ -45,9 +45,6 @@ namespace ICD.Common.Utils.Json
public sealed override object ReadJson(JsonReader reader, Type objectType, object existingValue,
JsonSerializer serializer)
{
if (reader.TokenType == JsonToken.Null)
return null;
return ReadJson(reader, (T)existingValue, serializer);
}