1198
submitted 3 months ago by urska@lemmy.ca to c/linuxmemes@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] FilthyShrooms@lemmy.world 48 points 3 months ago

That's why my business only uses pure, crisp .txt files. If I can't open it in notepad, I don't want it!

[-] CancerMancer@sh.itjust.works 26 points 3 months ago

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

[-] lolcatnip@reddthat.com 3 points 3 months 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 points 3 months ago* (last edited 3 months 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.com 2 points 3 months 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.

[-] MonkderDritte@feddit.de 19 points 3 months ago

With markdown or asciidoctor or restext or ... you get both worlds.

[-] SturgiesYrFase@lemmy.ml 7 points 3 months ago

Fuck it! I'm in!

this post was submitted on 14 Jun 2024
1198 points (95.5% liked)

linuxmemes

20707 readers
1637 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS