Re:Movim 0.16 – A federated web-based social XMPP client
by ponyous on Monday November 18, 2019 @07:10AM
(#21563656)
For the sake of simplicity. Because JSON is native to web. And web is the biggest platform you have imo. It's annoying that you have to bring in XML parsing libraries if you want to implement XMPP in javascript environment.
[ Parent
| on HN ]
Re:Movim 0.16 – A federated web-based social XMPP client
by shantly on Monday November 18, 2019 @08:17AM
(#21564034)
> web
> annoying that you have to bring in XML parsing libraries
Uhhhhhh...
https://developer.mozilla.org/en-US/docs/Web/Guide/Parsing_a...
Re:Movim 0.16 – A federated web-based social XMPP client
by ponyous on Monday November 18, 2019 @09:17AM
(#21564443)
Ok yeah, if you target web exclusively this will work. But if you target Android JSC runtime for example it won't, because you have no access to DOM.
When I said web I should really say javascript. If you replace it my point still stands.