• renzev@lemmy.world
    link
    fedilink
    arrow-up
    31
    ·
    5 days ago

    OK but how can json have a license? I understand a particular json parser having a license, but how can a specification, which contains no code, even be considered “software”?

    • frayedpickles@lemmy.cafe
      link
      fedilink
      English
      arrow-up
      8
      ·
      edit-2
      5 days ago

      Uh define code there. What about when storage and code are both on a machine that considers both instructions and data to be data? Is a spec not a creative work? Is code not just a spec?

      • AnyOldName3@lemmy.world
        link
        fedilink
        arrow-up
        12
        ·
        5 days ago

        It’s generally accepted that file formats aren’t protected IP, so you can write a compatible reader or writer and be in the clear as long as you reused no code from the original reader/writer. The specification may have licence terms that restrict who you can share the spec with, but you don’t necessarily need the official spec to come up with a compatible implementation. Plenty of file formats have been reverse engineered over the years even when the original didn’t have a written spec.

    • shastaxc@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      4 days ago

      The screenshot clearly is not talking about the json text file format, but a PHP extension called json.