My problem is that i cant print what i recieve from a server with out having a key at the start of the JSON file, here is my current code...

```
    $.getJSON("http://10.21.26.251:8080/Transport/getMessage?user=1", function(data) {
    var output = "<tr>"; 
    for ( var i in data.item) {
    output += "<td>"
    + "-- "
    + data.item[i].messageId
    + " --<br>-- "
    + data.item[i].userId
    + " --<br>"
    + data.item[i].messageContent
    + "<br></br></td>";
    }
    output += "</tr>";
    document.getElementById("placeholder").innerHTML = output;
    });

```

But this is reliant on the code being recieved having a name of items, the current JSON is recieved like this... I have no control over what is recieved

```
    {
    "messageId": "d1e5afa5-5153-49b7-ae73-3501fbed1b68",
    "userTo": {
    "userId": 1,
    "userName": "COE",
    "userLastCheckedDate": 1362994638139
    },
    "userFrom": {
    "userId": 2,
    "userName": "Man",
    "userLastCheckedDate": 1362994638139
    }
    etc...

```