@ -83,7 +83,7 @@ public static class Serializer
if (value is null)
return;
var enumerable = property.GetValue(value) as IEnumerable;
var enumerable = property is not null ? property.GetValue(value) as IEnumerable : value as IEnumerable;
if (enumerable is null)