You can use map
and Object.values
let array = json.map(obj => Object.values(obj));
More Related Contents:
- Anonymous class instance —- is it a bad idea?
- Create object from array
- How to find duplicate values in a JavaScript array of objects, and output only unique values?
- Maps vs Objects in ES6, When to use?
- Is this a good way to clone an object in ES6?
- Can (a== 1 && a ==2 && a==3) ever evaluate to true?
- From an array of objects, extract value of a property as array
- What is SpreadElement in ECMAScript documentation? Is it the same as Spread syntax at MDN?
- Node.js plans to support import/export ES6 (ECMAScript 2015) modules
- What are the differences between JSON and JavaScript object? [duplicate]
- Can ES6 template literals be substituted at runtime (or reused)?
- What does the @ mean inside an import path?
- Sum of array object property values in new array of objects in Javascript [duplicate]
- ES6 Promise.all() error handle – Is .settle() needed? [duplicate]
- What are the actual uses of ES6 WeakMap?
- Why are ES6 classes not hoisted?
- Create an empty object in JavaScript with {} or new Object()?
- Filtering an array with a function that returns a promise
- Can I set the filename of a PDF object displayed in Chrome?
- When should I use brackets with imports
- comparing ECMA6 sets for equality
- es6 import for side effects meaning
- Error: How to serialize data from getStaticProps : Next.js
- JavaScript error: “is not a function”
- Update one of the objects in array, in an immutable way
- Access to Script at ‘ from origin ‘null’ has been blocked by CORS policy
- How to namespace es6 classes (for React components)
- Flatten a javascript object to pass as querystring
- import * as React from ‘react’; vs import React from ‘react’;
- user defined object equality for a set in harmony (es6)