deserializeObj (): Deserialize a Serialized Object - OrvilleChomer/orvObjLib GitHub Wiki

Takes a serialized object created by the library's serializeObj() method and "deserializes" it. The output of this method is an object with various pieces of information about the operation.

The output Property of this object will contain a copy of the original object or array that was serialized in the first place!

var orvObjLib = new OrvObjLib();
var serializedObj, deserializedObj;
var newObjCopy;

serializedObj = orvObjLib.serializeObj(exitingObj);
deserializedObj = orvObjLib.deserializeObj(serializedObj);
newObjCopy = deserializedObj.output;

Back to API List