Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

I admittedly don't know much about XMPP, but I've heard that it relies heavily on XML, which nowadays can be an offputting serialization format. Is there a XEP for using JSON(schema) (or even more dev-friendly formats like protobuf)?


Theres an XEP that allows users to write modern and not-off-putting json instead :^)

https://xmpp.org/extensions/xep-0295.html


XML has a few drawbacks (serialisation), but I’m not sure if it being offputting is one; you could always simply pass it through a library such as xmljson [0], if you prefer to work with what you’re familiar with.

[0] https://pypi.org/project/xmljson/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: