9 comments

  • minraws 26 minutes ago
    you can just add schema to json why add new syntax now, especially for json I dont think it makes sense I honestly believe the war is over there won't be a xml to json moment unless we move to a new platform other than browsers which seem rather unlikely, json honestly is fine for something that's somewhat human readable...
  • hmokiguess 27 minutes ago
    I think I'm gonna go back to XSLT
  • azatom 53 minutes ago
    when will be xson invented, with support of xpathson and xsdson but strictly leaving out other xml features.. for future improvement?
  • robto 41 minutes ago
    Seems like it draws a lot of inspiration from EDN. Tagged literals, commas-as-whitespace (and optional), and anything-can-be-a-key are features I sorely miss when I have to go back to JSON.

    Don't know how I feel about optional quotes around strings, that seems like a mistake. And having an immutable set literal would be nice as well.

    • waweic 20 minutes ago
      Because I may not be the only one who was confused initially: I think EDN in this instance refers to the data serialization format (Extensible Data Notation) from the Clojure people, not to CBOR-EDN (Extended Diagnostic Notation), which also offers tagged literals and anything-can-be-a-key, IIRC.

      Really unfortunate naming

  • myshapeprotocol 1 hour ago
    Hash-pinned schemas are definitely the right direction for ensuring verifiable provenance across distributed systems. Great concept!
    • andrewjneumann 56 minutes ago
      Agree. It’s early stages, but I love the approach!
  • tonyg 33 minutes ago
    Absolute slop. Interesting that the end result, the place where Claude ended up, is similar to a (human-authored, windmill-tilting) project of mine, https://preserves.dev/ . Though with a much prettier website and far, far, far more words.
  • flanked-evergl 55 minutes ago
    why can't you use hash pinned schemas with existing json? Why do you need a new format for it?
    • IncreasePosts 33 minutes ago
      Here's some json: []

      How do you add schema info to that?

      • crote 31 minutes ago
        Like this:

            {
                'schema': 'c3ab8ff13720e8ad9047dd39466b3c8974e592c2fa383d4a3960714caef0c4f2',
                'data': []
            }
        • phailhaus 27 minutes ago
          And there you go, just `[]` is no longer valid, so you need a new format.
          • ltbarcly3 10 minutes ago
            If you need a schema for [] you have lost the plot.
  • esafak 34 minutes ago
    If the author is here, the Github repo in https://litterat.io/ should be https://github.com/litterat
  • ltbarcly3 11 minutes ago
    great another shitty JSON variant. now I'll have 9 different json-like libraries in every project that I can't get rid of.