# Deserialize(object)

> Applies serialized field values to a compatible visual element.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.UIElements](/engine/6000.6/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

## Deserialize(Object)

```csharp
public abstract void Deserialize(object obj)
```

### Parameters

**** (\[Object]\(https\://learn.microsoft.com/dotnet/api/system.object)): The element to have the serialized data applied to.

### Remarks

This is used by the code generator when a custom control is using the [UxmlElementAttribute](/engine/6000.6/script-reference/unityengine/uielements/uxmlelementattribute.md).
