SyntaxFix
Write A Post
Hire A Developer
Questions
function json2array(json){ var result = []; var keys = Object.keys(json); keys.forEach(function(key){ result.push(json[key]); }); return result; }
See this complete explanation: http://book.mixu.net/node/ch5.html