• JackbyDev@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 days ago

    XML is also tricky to parse because people forget it is for documents too. It’s basically like HTML. Mixed content elements are allowed. <foo>hey <bar>there</bar> friend</foo> is valid XML. So iterating over elements is trickier than JSON (which is just key value pairs and arrays).