The problem is that while XML is widely accepted standard supported on
all platforms and languages, JSON, even if it might be better, is not
so well supported in this moment. For this reason I think it would be
cool to be able to offer multiple outputs.
In the end, as you said, it's not that hard to get a library which
converts it from one to other, so why we can't use such a library on
side of dispatcher instead of forcing developers of clients to seek
this library for their language so that they can convert it
On Fri, Mar 1, 2013 at 2:56 PM, Happy Melon <happy.melon.wiki(a)gmail.com> wrote:
Because we made that mistake with the API, and now
we're stuck with a bunch
of deadweight formats that do nothing other than increase maintenance
costs. If your first preference as a client developer is for JSON, it's
really not that hard for you to go get a library to receive it in XML
instead, or vice versa. That's the whole point of a standardised format.
--HM
On 1 March 2013 13:48, Petr Bena <benapetr(a)gmail.com> wrote:
I see that the RFC is considering multiple
formats, why not support
all of them? We could make the client request the format they like,
either XML or JSON, that would be a matter of dispatcher how it
produce the output data.
On Fri, Mar 1, 2013 at 2:35 PM, Daniel Friesen
<daniel(a)nadir-seen-fire.com> wrote:
We actually have an open RFC on this topic:
https://www.mediawiki.org/wiki/Requests_for_comment/Structured_data_push_no…
--
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [
http://danielfriesen.name/]
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l