Default API response type: XML -> JSON

2018-04-23 Thread Marc-Aurèle Brothier
Hi everyone, I thought it would be good to move from XML to JSON by default in the response of the API if no response type is sent to the server along with the request. I'm wondering that's the opinion of people on the mailing list. Moreover, if anyone knows a tool working with the API in XML can

Re: Default API response type: XML -> JSON

2018-04-23 Thread Rafael Weingärtner
I do think it is an interesting proposal. I have been thinking, and what if we do something different; what about a global parameter where the root admin can define the default serialization mechanism (XML, JSON, RDF, others...)? The default value could be XML to maintain backward compatibility. Th