JSON result

19 views
Skip to first unread message

CloudNotify

unread,
Aug 27, 2009, 8:33:35 AM8/27/09
to checkvist-api
I am a little new to JSON, but I am having trouble parsing the
results. I use http://www.jsonlint.com/ to validate the result, and
when I do it complains. The problem appears to be that the field
names are not surrounded with quotes. When I point my code to a Yahoo
JSON result, it works and validates on the site mentioned above.

Is there an additional switch I need to pass to your REST call to tell
it to add the quotes to the resultset? Thanks!

brandontan

unread,
Aug 27, 2009, 6:03:52 PM8/27/09
to checkvist-api
Hi CloudNotify,

In my case, I tried the JSON method too and finally settled with using
the XML result.

However, during my initial trials, I found that the JSON returned here
passes if you eval() it in JavaScript, but it does not pass the
stringent format of JSON as defined by most non-browser methods (which
are stricter) of parsing JSON.

Cheers,

Boon

On Aug 27, 8:33 pm, CloudNotify <sco...@cloudnotify.com> wrote:
> I am a little new to JSON, but I am having trouble parsing the
> results.  I usehttp://www.jsonlint.com/to validate the result, and

KIR

unread,
Sep 14, 2009, 12:00:36 PM9/14/09
to checkvist-api
Hi,

Thanks for the report, I believe I've fixed the problem with JSON
format.

Regards,
KIR

On 27 авг, 16:33, CloudNotify <sco...@cloudnotify.com> wrote:
> I am a little new to JSON, but I am having trouble parsing the
> results.  I usehttp://www.jsonlint.com/to validate the result, and
Reply all
Reply to author
Forward
0 new messages