28
lumy
6y

Is it me or all REST api use json today ?
And xml is kinda dead ?

I always feel awful when I see an xml rest api.

Comments
  • 5
    unfortunately xml in apis is still widely used πŸ˜’
  • 0
    I'm not quit sure what to answer.

    I guess most of the company using json may have rework on the wheel.
  • 1
    @cabrasm πŸ˜†
  • 2
    @cabrasm okay i'm not gonna complain again of xml in REST API.

    That's very hard to see !
  • 0
    πŸ“Œ
  • 2
    Some third party website still uses XML and working with XML makes me sickπŸ˜₯
  • 0
    XML is slow, but is still tool used other places that the internet
  • 1
    Everytime I have to use XML I cry and then convert that to JSON.
  • 1
    It does seem like JSON is the ubiquitous option. I prefer it myself.

    In larger systems, and especially distributed systems, one mature option is protocol buffers (also called protobufs). The data serialized across the wire is defined in a language-specific interface, so it’s statically typed and you don’t need a DTD. Used correctly, they easily allow for rolling deployment and backwards compatibility.
  • 0
    πŸ“Œ
Add Comment