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

293
Views
Cómo convertir una cadena en una matriz sin ""

tengo un problema al convertir las coordenadas que deberian estar en formato array, pero me envia como respuesta un array pero con los datos con "" adjuntare unas imagenes para que se entienda mejor, perdon por mi ingles. Respuesta respuesta esperada

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Puede usar el método JSON.parse() para convertir la cadena Json en Javascript Array. Espero que este código te ayude.

 const arr=[ "[-19,-20]", "[-10,2]", "[-12,-20]", "[-1,22]", "[-19,-20]", "[-1,2]", "[-9,-2]", "[-10,2]", ] const result=arr.map((item)=>JSON.parse(item)) console.log(result)

about 4 years ago · Juan Pablo Isaza Report
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!