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

a binary representation of an object or a path to a file that contains this

Alias: object

Examples

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

See also