• leisesprecher@feddit.org
    link
    fedilink
    arrow-up
    0
    ·
    3 months ago

    And there are some truly magic tools.

    XSDs are far from perfect, but waaay more powerful than json schema.

    XSLT has its problems, but completely transforming a document to a completely different structure with just a bit of text is awesome. I had to rewrite a relatively simple XSLT in Java and it was something like 10 times more lines.

    • Skull giver@popplesburger.hilciferous.nl
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 months ago

      XSD and XSLT files alone can replace half the JSON applications I’ve seen. I can see why it’s easier to take the barebones JSON notation and reinvent the wheel, but those tiny programs are the “Excel+VBA” of web applications.

    • sik0fewl@lemmy.ca
      link
      fedilink
      arrow-up
      0
      ·
      3 months ago

      And don’t forget about namespaces. Look at formats like HAL and ODATA that try to add HATEOAS onto JSON.