Serialize object to file or convert it to binary format
objectSave(object [, file])
→ returns binary
people = queryNew('id,name','integer,varchar', {'id':1,'name':'Pedro'});
binary_people = objectSave(people);
writeDump(binary_people);
restored_people = objectLoad(binary_people);
writeDump(restored_people);
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.