serializeObj() : takes an input of a Js Object Array and creates a serialized object - OrvilleChomer/orvObjLib GitHub Wiki
You provide this method with a JavaScript object or array, and it will create a new "serialized" object which essentially generates a list of commands for the deserializeObj() method to perform in order to re-create the object or array. It will even handle (serialize) any circular references that if finds.
It will ignore name references to DOM elements.
By default it will ignore any methods that an object might have. You can turn this off though so that it will serialize the methods too!
var orvObjLib = new OrvObjLib();
var serializedObj = orvObjLib.serializeObj(exitingObj);
Back to API List