Reverted previous fix.

This commit is contained in:
AMZN-koppersr
2021-05-05 14:21:53 -07:00
parent 7963924b6a
commit 790e41f675
@@ -33,6 +33,11 @@ namespace AZ
"Target object for Json Serialization is pointing to nothing during loading.");
}
if (IsExplicitDefault(value))
{
return context.Report(Tasks::ReadField, Outcomes::DefaultsUsed, "Value has an explicit default.");
}
BaseJsonSerializer* serializer = context.GetRegistrationContext()->GetSerializerForType(typeId);
if (serializer)
{