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

211
Views
Cómo obtener el valor del objeto de este Json

Tengo una respuesta de Json, intento muchos métodos para obtener valor, pero no me dan lo que necesito.

este es el codigo:

 function test() { var url = 'https://api.kraken.com/0/public/Ticker?pair=BTCUSD'; var apiRequest = UrlFetchApp.fetch(url); var jsonResponce = JSON.parse(apiRequest); Logger.log(jsonResponce); var price = jsonResponce.result.XXBTZUSD.a; // test if can I get value from array Logger.log(price) // It's work here var fine = price.map(obj => [obj[0]]); // Now test to get value from inside array Logger.log(fine) // but give just first character in number }

Este es el resultado:

ingrese la descripción de la imagen aquí

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!