• Ferk@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 day ago

    100%

    JSON is not the optimal solution for either humans nor for machines… it’s a compromise in-between that is more complex to parse than most binary alternatives (and even some text-based ones, if the data can be represented in CSV tables for example), while also often requiring post-processing through beautifiers and similar to be able to visualize it cleanly for humans.

    There are situations where it’s the format that makes the most sense… like in the web, where you are already working with javascript anyway. But it’s not a golden bullet to use everywhere.

    • esa@discuss.tchncs.de
      link
      fedilink
      arrow-up
      1
      ·
      1 day ago

      Yeah, JSON is essentially a side effect of having JavaScript already. It makes sense that it shows up a lot of places, especially web. But just like with JS, it’s not really good, just ubiquitous.