Jump to content

JSON parsing error?


Charlotte Copeland
 Share

You are about to reply to a thread that has been inactive for 3577 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I'm parsing JSON in an http_response event handler, and occasionally (I haven't dug into it enough to narrow down the actual problem) I end up with a call to llJson2List() on the fourth element of the handler (the http response) returning not a parsed list, but instead a list containing a single element, the string of the whole body.

I am assuming this is symptomatic of the JSON parser having issue with something in the body (unicode?) but not sure how to dig into it, or how to correct it.

Has anyone else seen this behavior?  I normally get the body parsed out into it's normal key/value list, but like I said sometimes it goofs up and just gives me back a list of length 1 with the element being the complete text of the response.

Thanks in advance!

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 3577 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...