Tuesday, January 10, 2012

[YouTube-API] Re: SUP feed sending bad json

Hello David,

The code change to fix this has been written, and will be pushed out
to production during our next server-side release, which should take
place within the next couple of weeks.

Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev


On Jan 6, 4:56 pm, Jeffrey Posnick <je...@google.com> wrote:
> Hello David,
>
>  Thanks for pointing this out. I'll let the team responsible for
> generating the SUP feed know.
>
> Cheers,
> -Jeff Posnick, YouTube API Team
> groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
> @YouTubeDev
>
> On Jan 6, 10:39 am, David McCormick <david.mccorm...@teamaol.com>
> wrote:
>
>
>
>
>
>
>
> > When making a query tohttp://gdata.youtube.com/sup?seconds=900
>
> > I get back:
>
> > {
> > "updated_time":"2012-01-06T15:15:00Z",
> > "since":"2012-01-06T15:00:00Z",
> > "period":900,
> > "available_periods":{
> > "300":"http://gdata.youtube.com/sup?seconds=300",
> > "600":"http://gdata.youtube.com/sup?seconds=600",
> > "900":"http://gdata.youtube.com/sup?seconds=900",},
>
> > ...
>
> > Notice the trailing comma after the 900? This is not valid json, and breaks
> > both python's json parser and the gson parser. The same thing happens at
> > the end of the "updates" array as well.
>
> > Can someone please fix this?
>
> > Thanks,
> > David

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment