JSON/XML api responses

Add your suggestions for improving Poker Mavens
Post Reply
torba
Posts: 3
Joined: Sat Jun 29, 2013 9:22 pm

JSON/XML api responses

Post by torba »

The current text response is horrific, why go through having to parse that plaintext response when most languages can interpret json/xml easily into an array?
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: JSON/XML api responses

Post by Kent Briggs »

torba wrote:The current text response is horrific, why go through having to parse that plaintext response when most languages can interpret json/xml easily into an array?
I agree the current API protocol was a poor choice. XML would be even worse with all the duplicate open and close tags. JSON is the way to go. Version 4 will use JSON for the server to client protocol. It probably won't be until version 5 before I revamp the server and make the API in JSON format also.
torba
Posts: 3
Joined: Sat Jun 29, 2013 9:22 pm

Re: JSON/XML api responses

Post by torba »

Kent Briggs wrote:
torba wrote:The current text response is horrific, why go through having to parse that plaintext response when most languages can interpret json/xml easily into an array?
I agree the current API protocol was a poor choice. XML would be even worse with all the duplicate open and close tags. JSON is the way to go. Version 4 will use JSON for the server to client protocol. It probably won't be until version 5 before I revamp the server and make the API in JSON format also.
Thank you :D
Post Reply