public object Convert(object value, Type type) { var fieldType = deserializer.Context.TypeHandler.DetermineTypeFromValue(value); var field = new TemporaryField(fieldType, value); object result = deserializer.FromField(field, type); return(result); }
public object Convert(object value, Type type) { var fieldType = deserializer.Context.TypeHandler.DetermineTypeFromValue(value); var field = new TemporaryField(fieldType, value); object result = deserializer.FromField(field, type); return result; }