awful.systems
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@lysdexic@programming.dev to Programming@programming.devEnglish • 9 months ago

RFC 7493: The I-JSON Message Format

datatracker.ietf.org

external-link
message-square
17
fedilink
31
external-link

RFC 7493: The I-JSON Message Format

datatracker.ietf.org

@lysdexic@programming.dev to Programming@programming.devEnglish • 9 months ago
message-square
17
fedilink
I-JSON (short for "Internet JSON") is a restricted profile of JSON designed to maximize interoperability and increase confidence that software can process it successfully with predictable results.
  • @grrgyle@slrpnk.net
    link
    fedilink
    7•9 months ago

    Just skimmed but seems like a decent idea. Not that I’ve knowingly run into issues parsing JSON too much

    • @towerful@programming.dev
      link
      fedilink
      7•9 months ago

      It’s from 2015, so its probably what you are doing anyway

      • @lysdexic@programming.devOP
        link
        fedilink
        English
        3•
        edit-2
        9 months ago

        It’s from 2015, so its probably what you are doing anyway

        No, you are probably not using this at all. The problem with JSON is that this details are all handled in an implementation-defined way, and most implementation just fail/round silently.

        Just give it a try and send down the wire a JSON with, say, a huge integer, and see if that triggers a parsing error. For starters, in .NET both Newtonsoft and System.Text.Json set a limit of 64 bits.

        https://learn.microsoft.com/en-us/dotnet/api/system.text.json.jsonserializeroptions.maxdepth

Programming@programming.dev

!programming@programming.dev

remote_follow_modal_title

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@programming.dev

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



  • 80 users / day
  • 409 users / week
  • 2.57K users / month
  • 6.51K users / 6 months
  • 21K subscribers
  • 1.81K Posts
  • 22.9K Comments
  • Modlog
  • mods:
  • snowe
  • Ategon
  • @MaungaHikoi@lemmy.nz
  • @UlrikHD@programming.dev
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org