There exists a peculiar amnesia in software engineering regarding XML. Mention it in most circles and you will receive knowing smiles, dismissive waves, the sort of patronizing acknowledgment reserved for technologies deemed passé. “Oh, XML,” they say, as if the very syllables carry the weight of obsolescence. “We use JSON now. Much cleaner.”

  • unique_hemp@discuss.tchncs.de
    link
    fedilink
    arrow-up
    7
    ·
    9 hours ago

    CSV >>> JSON when dealing with large tabular data:

    1. Can be parsed row by row
    2. Does not repeat column names, more complicated (so slower) to parse

    1 can be solved with JSONL, but 2 is unavoidable.

    • abruptly8951@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      4 hours ago

      Yes…but compression

      And with csv you just gotta pray that you’re parser parses the same as their writer…and that their writer was correctly implemented…and they set the settings correctly