JSON output for RingGamesPlaying and TournamentsPlaying

Report bugs found in Poker Mavens
Post Reply
Raventhon
Posts: 166
Joined: Thu Mar 20, 2014 3:37 pm

JSON output for RingGamesPlaying and TournamentsPlaying

Post by Raventhon »

JSON output for RingGamesPlaying and TournamentsPlaying is non-coforming in certain cases and breaks most parsers.

When using the RingGamesPlaying and TournamentsPlaying API commands to retrieve the data for currently playing players, some cases can cause non-conforming JSON to be returned. In the case of RingGamesPlaying, when ClientNetChips is "No", the resulting JSON output for that data is '"Net":[,,,,,]' which is invalid, and should be something like '"Net":[0,0,0,0,0]' or some other placeholder to indicate a null or not-applicable value.

When using the TournamentsPlaying command, a similar thing occurs once players are out the tournament, the table JSON output is '"Table":[1,1,1,,]' and should probably be '"Tables":[1,1,1,0,0]' or some other placeholder to indicate someone is knocked out and no longer at a table.
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: JSON output for RingGamesPlaying and TournamentsPlaying

Post by Kent Briggs »

Thanks, I'll take a look at it.
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: JSON output for RingGamesPlaying and TournamentsPlaying

Post by Kent Briggs »

Now fixed in 4.26
Post Reply