Search found 3 matches

by WhatSAB
August 13th, 2011, 8:00 am
Forum: Bug Reports
Topic: JSON API: Wrong string delimiter
Replies: 5
Views: 2657

Re: JSON API: Wrong string delimiter

One more thought after replacing lots of things in the api response (False -> false, True -> true, None -> null, ...).
If you want to make it valid JSON one day this site is really useful: http://jsonlint.com/
by WhatSAB
August 13th, 2011, 2:54 am
Forum: Bug Reports
Topic: JSON API: Wrong string delimiter
Replies: 5
Views: 2657

Re: JSON API: Wrong string delimiter

Ok thanks, will have to "fix" the parser then or replace the response before parsing :)
by WhatSAB
August 12th, 2011, 6:47 pm
Forum: Bug Reports
Topic: JSON API: Wrong string delimiter
Replies: 5
Views: 2657

JSON API: Wrong string delimiter

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: http://www.json.org A string is a sequence of zero or more Unicode characters, wrapped in double quotes, using backslash escapes....