I receive following response in an Ajax call:

```
[]

```

I want to check in JQuery whether this is JSON is empty or not? I have tried some ways out:

```
var data = '[]';
try {
json = $.parseJSON(data);
alert(json);
} catch (e) {
alert("Va");
}

```

also tried

```
 if (data.objects.length == 0) {
                $("#divi").html('nothing found');
            }
            else{
               $("#divi").html('Found 10 Objects');
            }

```

but in vein. Could anyone suggest how to check response JSON is an empty JSon or not; in jQuery?

**Update**:

```
 data: {
    '_CONV_ID': $('input[name="_CONV_ID"]').val(),
 },
 success: function (data) {
 //Here JSON check to be implemented. I am getting data
 }

```