# ObjectLoad()

loads an object serialized in a binary form from a file or as binary input

```
ObjectLoad( input=any );
```

**Returns:** any

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| input | any | No | a binary representation of an object or a path to a file that contains this *Alias: object* |  |

# Examples

```1
my_items = { id = 1, name = "item" };
new_object = ObjectSave(input = my_items);
dump(ObjectLoad(input = new_object)); // struct
```







# Categories

[Objects](../../categories/object.md)

# See Also

[Diagnosing struct iteration-order regressions on 7.1 with `lucee.concurrent.map.impl=legacy`](../../recipes/concurrent-map-legacy-flag.md), [ObjectSave()](objectsave.md)