I've got a json object that I am loading from wordpress while using JSON API wordpress plugin. After I load the json object and then try to log the areas of it, it appears enjoy it goodies each and every character since it's own object therefore the loop returns us a couple 1000 objects with item inside it the industry single character. This really is my very first time using json so idk if i am missing one step here. this is actually the code I am using to date.

function getProjInfo(theId){ 
    $.ajax({// calling the ajax object of jquery
        type: "GET",// we are going to be getting info from this data source
        url: 'http://testing.charter21.com/api/get_post/?post_id='+ theId,//the datasource
        dataType: "application/json",
        success: function(data){
        parseJson(data);
    }, // what happens when it is successful at loading the XML 
    error: function(){
        alert("error");
    }   
    });

}//end of the function

function parseJson(inData){
    postInfo = inData;
    $.each(postInfo, function(index, value){
    console.log(this);
});

}

the json appears like this:
{
"status": "ok",
"count": 10,
"count_total": 19,
"pages": 2,
"posts": [
{
"id": 175,
"type": "post",
"slug": "home-page-slider",
"url": "http:\/\/testing.charter21.com\/uncategorized\/home-page-slider\/",
"status": "publish",
"title": "Home Page slider",
"title_plain": "Home Page slider",
"content": "<p>The cImages in here are the images that are in the slider on the home page this content in this box will not show up. Its only here as a guide.<\/p>\n",
"excerpt": "The cImages in here are the images that are in the slider on the home page this content in this box will not show up. Its only here as a guide.",
"date": "2011-01-25 10:40:25",
"modified": "2011-01-25 10:40:25",
"categories": [],
"tags": [],
"author": {
"id": 1,
"slug": "admin",
"name": "admin",
"first_name": "",
"last_name": "",
"nickname": "admin",
"url": "",
"description": ""
},
"comments": [],
"attachments": [],
"comment_count": 0,
"comment_status": "open"
}

so essentially rather than giving me "status" being an key and "ok" like a value, i recieve "s" being an object by having an index which has a worth of "s" for every character within the json object. Any help about this matter could be appreciated.

You have to set dataType:json inside your $.ajax() request to ensure that jQuery converts the JSON-formatted string right into a JavaScript object that you should process as a result. You are presently using application/json the industry mime type, and never a legitimate value with this area inside a jQuery request.

Inside your situation you may also try data = eval(data) , this javascript statement should convert your string to json object.