Converts a single plain object into a value of type T.
if object does not have the shape expected for a T.