• CancerMancer@sh.itjust.works
    26·
    1 year ago

    I have unironically been preaching the powers of text and JSON, and have some converts. Universal compatibility is great.

    • lolcatnip@reddthat.comEnglish
      3·
      1 year ago

      Json is a garbage format for anything that’s meant to ever be touched by a human. At least use yaml or json5.

      • CancerMancer@sh.itjust.works
        3·
        1 year ago

        In the first paragraph of JSON5’s site:

        It is not intended to be used for machine-to-machine communication.

        YAML is not supported by a lot of enterprise software (example: Azure pipelines supports it but Power Automate does not). JSON, XML, CSV, or failing that Text are the safe bets. We use a few options for reading or building presentation layers quickly. Ultimately the idea is to move data around in a way that is friendly to our current and future applications.

        • lolcatnip@reddthat.comEnglish
          2·
          1 year ago

          It’s absolutely trivial to convert either format to json if necessary. The real killer for me with json is the lack of comments. Human-maintained files absolutely need comments.