Saravana Kumar Saravana Kumar - 3 months ago 12
AngularJS Question

How to remove parentheses from JSON in start and end?

I have a Json Object look like ,


I don't know how to remove the parentheses from the starting and ending of the JSON like
. Please guide me.


My guess is that you are trying to access JSONP data. You probably need to add ?callback=? to your URL

var url="";
    $.getJSON(url+'?callback=?', function(json){
        //loop through deals
            $("#todaycal").append("<li>""  "+dat.caseNo+"</li>");