Friday, 21 April 2017

How can I access Objects in this JSON

I'm currently working on a command line interface to show random quotes, found an API to consume quotes from, problem is the JSON is returned as an array like this

[{"ID":648,"title":"Jeff Croft","content":"<p>Do you validate other  <\/p>\n","link":"https:\/\/quotesondesign.com\/jeff-croft\/","custom_meta":{"Source":"<a href=\"http:\/\/cdharrison.com\/2009\/06\/notes-from-jeff-crofts-grids-css-standards-and-tomfoolery\/\">presentation<\/a>"}}]

What I want to access is the content:<p>Do you validate other<\/p> which is the quote I want



via Kayode Adeola

No comments:

Post a Comment