Matti - Thanks for the info. Just helps. I prefer to use code I understand properly, rather than just anything that works.
quote:
Originally posted by felipEx
I got a better way to organize this output and deal it with JScript.
code:
{"results": [
{"Title": "Sonic The Hedgehog", "PSM": "A blue streak speeds by - It\\'s Sonic The Hedgehog"},
{"Title": "Sonic The Hedgehog", "PSM": "Faster than the naked eye - It\\'s Sonic The Hedgehog"},
{"Title": "Sonic The Hedgehog", "PSM": "test"}
]
}
I've changed the code output now to match yours, but I still get the same error. I've also tried just copying your json, but I still get the same error.
I've scanned my JSON output using the verifier at
http://www.jslint.com/ and it says its all good (both mines, and yours) but still I get Error: Expected ')'. Any ideas?