Get and Print JSON string from URL

  • home
  • /
  • PHP
  • /
  • Get and Print JSON string from URL

Can use JSON.parse(data) to convert the desired output to JSON, and then access the objects and array indexes from within that with .object and [array_index] respectively:

 

  • Share:

Leave a Comment

sing in to post your comment or sign-up if you dont have any account.

5 × 2 =

This site uses Akismet to reduce spam. Learn how your comment data is processed.