• renzev@lemmy.world
    link
    fedilink
    arrow-up
    23
    ·
    11 hours 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
      4
      arrow-down
      1
      ·
      edit-2
      4 hours 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
        7
        ·
        4 hours 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.