deleteObj(obj {Object})

deleteObj(obj {Object})
Deletes an item or reference from the JSON session

obj {Object} a JSON-based object which has:

id: {String} unique ID for the object
type: {String} name for how the object will be stored within other objects. For example, if you had a selection object with ID ‘sel1′ and linked it to a shape ‘shp1′, ‘shp1′ would store your selections’s reference in an internal array of type, as specified by your type variable.
jsonName: {String} name for where the object is stored in the core JSON. If you use the same name as in type, it will store at the global level, along with pages. If you use TILEPAGE (current url), it will store it as a variable inside that page element