I need to access the href properties and return as a bunch of img elements with their sources as the extracted href properties. How do I do this in either javascript or jQuery.
I did something like this, without any result:
var myData = jQuery.parseJSON(jsonString);
alert(myData + "SDFS");
$(document).ready(function() { 
    var $grouplist = $('div#groups');
    $.each(myData, function(index) {
        $('<li>' + this.query.results.a[index].href+ '</li>').appendTo($grouplist);
    });
The JSON itself is :
{
  "query": {
    "count": 99,
    "created": "2015-05-28T16:41:45Z",
    "lang": "en-US",
    "diagnostics": {
      "publiclyCallable": "true",
      "redirect": {
        "from": "https://googledrive.com/host/0B-7mpdkiECAefkND6cy1tV3prSHc1b2Z3Vm9sSjNORDZfeHZRYldScUdZd1NGaUU/",
        "status": "302",
        "content": "https://1fd05575081cdaaf2fdc49e37444f3390503e229.googledrive.com/host/0B-7mpdkiEFTT3prSHc1b2Z3Vm9sSjNORDZfeHZRYldScUdZd1NGaUU/"
      },
      "url": [
        {
          "execution-start-time": "1",
          "execution-stop-time": "1085",
          "execution-time": "1084",
          "content": "https://googledrive.com/host/0B-7mpdkiETXR6cy1tV3prSHc1b2Z3Vm9sSjNORDZfeHZRYldScUdZd1NGaUU/"
        },
        {
          "execution-start-time": "1",
          "execution-stop-time": "1085",
          "execution-time": "1084",
          "content": "https://googledrive.com/host/0B-7mpdkiECAefky1tV3prSHc1b2Z3Vm9sSjNORDZfeHZRYldScUdZd1NGaUU/"
        },
        {
          "execution-start-time": "1",
          "execution-stop-time": "1085",
          "execution-time": "1084",
          "content": "https://googledrive.com/host/0B-7mpdkiECAefkND3prSHc1b2Z3Vm9sSjNORDZfeHZRYldScUdZd1NGaUU/"
        }
      ],
      "user-time": "1108",
      "service-time": "3234",
      "build-version": "0.2.509"
    },
    "results": {
      "a": [
        {
          "href": "/host/0B-7mpdkiECAefkNDUXFTTXR6cy1tV3prSHc1b2Z3Vm9sSjNORDZfeHZRYldScUdZd1NGaUU/CD%20RELEASE2014.jpg",
          "content": "CD RELEASE.jpg"
        },
        {
          "href": "/host/0B-7mpdkiECAefkNDUXFTTXR6cy1tV3prSHc1b2Z3Vm9sSjNORDZfeHZRYldScUdZd1NGaUU/dsc_6209.jpg",
          "content": "dsc_6279.jpg"
        },
        {
          "href": "/host/0B-7mpdkiECAefkNDUXFTTXR6cy1tV3prSHc1b2Z3Vm9sSjNORDZfeHZRYldScUdZd1NGaUU/dsc_6219_0.jpg",
          "content": "dsc_6279_0.jpg"
        },
        {
          "href": "/host/0B-7mpdkiECAefkNDUXFTTXR6cy1tV3prSHc1b2Z3Vm9sSjNORDZfeHZRYldScUdZd1NGaUU/dsc_620.jpg",
          "content": "dsc_6280.jpg"
        }
      ]
    }
  }
}
 
     
     
    