Thirty years later, JavaScript is the glue that holds the interactive web together, warts and all.

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

    Safe json handling requires that all properties are stringified anyway and you cast them to their correct types (because json sucks and you can never tell what someone will put in there anyway).

    • The_Decryptor@aussie.zone
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      17 hours ago

      Yeah, I actually really don’t like JSON. It looks simple but actually isn’t, that’s a bad combo.

      CBOR is much nicer, but annoyingly they made their human readable debug version of it similar enough to JSON that people assume it’s just a binary form of JSON, it isn’t.