I have the following JSON:
{"StationRow":[{"Title":"XXX"},X{"Thumbnail":"http://exampletv.com/shopping/Portals/10/PropertyAgent/757/Images/6.jpg"},{"LinkCode":"http://www.youtube.com/watch?v=J4bw4y3h69I http://www.youtube-nocookie.com/embed/J4bw4y3h69I?rel=0"},{"SourceType":"embed"},{"LinkURL":"http://www.youtube.com/watch?v=J4bw4y3h69I"},{"Title":"ΚΛΕΜΜΕΝΑ ΟΝΕΙΡA"},{"Description":"XXXX."},{"Thumbnail":"http://exampletv.com/shopping/Portals/10/PropertyAgent/757/Images/14.jpg"},{"LinkCode":"ΚΛΕΜΜΕΝΑ ΟΝΕΙΡΑ - ΕΠ. 293 ΑΠΟΣΠΑΣΜΑ, http://www.youtube.com/watch?v=wSrhamIIaR4, http://exampletv.com/shopping/Portals/10/PropertyAgent/757/Images/17.jpg, ΚΛΕΜΜΕΝΑ ΟΝΕΙΡΑ - ΕΠ. 292 ΑΠΟΣΠΑΣΜΑ, http://www.youtube.com/watch?v=jxxhttp://exampletv.com/shopping/Portals/10/PropertyAgent/757/Images/16.jpg, ΚΛΕΜΜΕΝΑ ΟΝΕΙΡΑ - ΕΠ. 291 ΑΠΟΣΠΑΣΜΑ, http://www.youtube.com/watch?v=xx, http://exampletv.com/shopping/Portals/10/PropertyAgent/757/Images/15.jpg, xx ΟΝΕΙΡΑ - ΕΠ. 290 ΑΠΟΣΠΑΣΜΑ, http://www.youtube.com/watch?v=ILcwh7tMJ2Y, http://exampletv.com/shopping/Portals/10/PropertyAgent/757/Images/14.jpg, "},{"SourceType":"embed"},{"LinkURL":""}]}
On using simplejson
it throws following exception:
NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'simplejson.scanner.JSONDecodeError'>
Error Contents: Invalid control character 'h' at: line 1 column 260 (char 259)
Traceback (most recent call last):
JSONLint calls it ValidJSON
How to figure it out?
I am using Python 2.6 ships with XBMC