Object.dissect >= 0.1.2
Purpose
Like Object.divide, but key and value both become properties
Syntax
Object.dissect
(
Objectobj
);
Parameters
obj
Return values
Array
Examples
var obj = {
one: 1,
two: 2,
};
Object.dissect(obj);>>> [{"key":"one","value":1},{"key":"two","value":2}]
Comments