Meme transcription:

Panel 1: Bilbo Baggins ponders, “After all… why should I care about the difference between int and String?

Panel 2: Bilbo Baggins is revealed to be an API developer. He continues, “JSON is always String, anyways…”

  • Michal
    link
    fedilink
    arrow-up
    5
    arrow-down
    4
    ·
    6 months ago

    Yaml is more human readable/editable, and it’s a superset of json!

    • bob_lemon@feddit.org
      link
      fedilink
      arrow-up
      2
      ·
      6 months ago

      Yaml is just arcane bullshit to actually write as a human. Nor is it intuitively clear how yaml serializes.

    • bitfucker
      link
      fedilink
      arrow-up
      2
      ·
      6 months ago

      Until someone cannot tell the difference between tab and space when configuring or you miss one indentation. Seriously, whoever thinks indentation should have semantic meaning for computers should burn in hell. Indentation is for us, humans, not computers. You can write a JSON with or without indentation if you want. Also, use JSON5 to have comments and other good stuff for a config file.

    • JackbyDev
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 months ago

      It’s entirely disingenuous because who the hell is throwing JSON into YAML without converting it? Oh wow, I changed the file extension and it still works. I’m so glad we changed to YAML!