ObjectLoad()
loads an object serialized in a binary form from a file or as binary input
ObjectLoad( input=any );
Returns: any
| Argument | Description |
|---|---|
|
input
any,
optional
|
edit
a binary representation of an object or a path to a file that contains this Alias: object |
Examples
editmy_items = { id = 1, name = "item" };
new_object = ObjectSave(input = my_items);
dump(ObjectLoad(input = new_object)); // struct