Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected] to [email protected]English • 10 months ago

RFC 7493: The I-JSON Message Format

datatracker.ietf.org

external-link
message-square
19
fedilink
31
external-link

RFC 7493: The I-JSON Message Format

datatracker.ietf.org

@[email protected] to [email protected]English • 10 months ago
message-square
19
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.
  • @[email protected]
    link
    fedilink
    7•10 months ago

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

    • @[email protected]OP
      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

[email protected]

[email protected]
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: [email protected]

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 [email protected]



  • 14 users / day
  • 160 users / week
  • 356 users / month
  • 1.82K users / 6 months
  • 3 subscribers
  • 2.32K Posts
  • 34.8K Comments
  • Modlog
  • mods:
  • snowe
  • Ategon
  • @[email protected]
  • @[email protected]
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org