Uncaught TypeError: cannot use the 'in' operator to search for 'length' in '
This is the error I get when I try to make $.each for this JSON object:
{"type":"Anuncio","textos":["Probando esto","$ 20150515"],"submit":"codParameters?___DDSESSIONID\u003d14EA4721A904D6DD71591156996E29F7%3A%2FMobilTest"}
I also tried to do the same with stringify, but I get the same error:
{\"type\":\"Anuncio\",\"textos\":[\"Probando esto\",\"$ 20150515\"],\"submit\":\"codParameters?___DDSESSIONID\\u003d06CBEC9D1A53616EFF703A8C71FBC2B4%3A%2FMobilTest\"}"
If I remove the ___DDSESSIONID\\u003d06CBEC9D1A53616EFF703A8C71FBC2B4%3A%2FMobilTest from the object, then $ .each works fine.
Why can this happen?
Thank you in advance.
json javascript jquery getjson
Ivรกn Alberto Fontalvo Salgado May 15 '15 at 10:07 PM 2015-05-15 22:07
source share