justintv / Twitch-API

A home for details about our API
www.twitch.tv
1.72k stars 379 forks source link

Make PubSub JSON examples valid JSON by removing trailing commas #642

Closed broadstone closed 7 years ago

broadstone commented 7 years ago

This makes the JSON examples in the PubSub documentation follow the JSON standard of only having a value-separator (a comma) inbetween object members and not at the end of the member list

This fixes issue #636 because it seems the websocket servers don't like parsing trailing commas and the documentation examples might as well contain valid JSON.