97
rated 0 times
[
104]
[
7]
/ answers: 1 / hits: 16201
/ 11 Years ago, tue, november 26, 2013, 12:00:00
json= new Gson().toJson(name);
where name is of type string.
I am getting error saying TypeError: invalid 'in' operand obj
error is in the given part of java script
return type === array || type !== function &&
( length === 0 ||
typeof length === number && length > 0 && ( length - 1 ) in obj );
I have also tried
response=JSON.parse(response);
which is not working.
More From » jquery