var
isJson =
function
(obj){
isjson =
typeof
(obj) ==
"object"
&& Object.prototype.toString.call(obj).toLowerCase() ==
"[object object]"
&& !obj.length;
return
isjson;
}