JSON API: Wrong string delimiter
Posted: August 12th, 2011, 6:47 pm
Hi there,
I am trying to use the JSON API (for history in SABnzbd 0.6.7) but all strings seem to be wrapped in single quotes. The JSON standard defines strings like this:
This makes my JSON parser explode. Is this a bug? Am I doing something wrong?
Thanks for your help.
I am trying to use the JSON API (for history in SABnzbd 0.6.7) but all strings seem to be wrapped in single quotes. The JSON standard defines strings like this:
but it looks like this:http://www.json.org
A string is a sequence of zero or more Unicode characters, wrapped in double quotes, using backslash escapes.
http://localhost:8081/api?mode=history&apikey=...
{'active_lang': 'de', 'paused': False, 'session':
This makes my JSON parser explode. Is this a bug? Am I doing something wrong?
Thanks for your help.