Convert array of objects to array of arrays

You can use map and Object.values

let array = json.map(obj => Object.values(obj));

Leave a Comment