Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • I think, this is almost the same idea as @Travesty3. I got the same NULL. Commented Nov 22, 2013 at 20:15
  • If you manuually remove that part from the string and run it though JSONLint or similar, to you get valid JSON? Commented Nov 22, 2013 at 20:16
  • Yes, I tries that. It said, there should be quotes over fieldNames. Thats what I mentioned in the question earlier. Commented Nov 22, 2013 at 20:21
  • @VishwaDatta Sorry I missed that part. You either need to change the JSON that is created (if you have control over this) or you might need to look into another library to use for JSON decoding that is more leninent. Commented Nov 22, 2013 at 20:28