Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

90
Views
Extracting Values from Json Array and Removing ID Key

I have a Json array.

[
    {
        "id": 1,
        "data1": "A",
        "data2": "B",
    },
    {
        "id": 2,
        "data1": "C",
        "data2": "D",
    }
]

I want to extract only the values and remove the ID key then add every object to new nested array like this;

[
    [
        "A",
        "B"
    ],
    [
        "C",
        "D"
    ]
]

I tried Object.entries but this way cannot get rid of the keys.

How can I extract only the values without ID key and create new array?

I will use this in filefy.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!