seagreen/Son
View on GitHub ↗ ★ 358 Haskell
Work in progress. Best alternative: https://matrix.org/docs/spec/appendices.html#canonical-json
15 mentions on Hacker News by 5 people: 4 stories, 11 comments · first 2017-02-01 · latest 2017-12-10
20082026
-
https://github.com/seagreen/Son/issues/10
comment by seagreen · 2017-12-10 · in Son: A minimal subset of JSON for machine-to-machine communication -
I opened an issue for this here: https://github.com/seagreen/Son/issues/10 I'm curious about how often enough trailing zeros occur in real world documents for lack of exponential notation to have a noticeable impact on document size.
comment by seagreen · 2017-12-10 · in Son: A minimal subset of JSON for machine-to-machine communication -
…not specifying the numeric value ranges" [1], in case anyone has anything concrete to suggest. [1] https://github.com/seagreen/Son/issues/3
comment by sundarurfriend · 2017-12-10 · in Son: A minimal subset of JSON for machine-to-machine communication -
…Someone very helpfully opened an issue and we're trying to figure out the right wording there: https://github.com/seagreen/Son/issues/13
comment by seagreen · 2017-12-10 · in Son: A minimal subset of JSON for machine-to-machine communication -
Have you seen my Son project? ( https://github.com/seagreen/Son ) I think I may have gotten JSON canonicalization right. Also, I'm collecting a list of all subsets of JSON here if anyone knows of more: https://housejeffries.com/page/7…
comment by seagreen · 2017-04-25 · in Introducing TJSON: Tagged JSON with Rich Types -
There's an issue for min and max number values here: https://github.com/seagreen/Son/issues/3 Son seems like a natural place to put restrictions on them, but I'm not sure if there's way to do it that (A) still makes for a clean spec and…
comment by seagreen · 2017-03-14 · in Son – A minimal subset of JSON for machine-to-machine communication -
…order: `{"Z":3,"a":0,"\u0073\u0323\u0307":1,"\u1E69":2}` See this issue for the discussion: https://github.com/seagreen/Son/issues/1 My current understanding is that RFC 7159 doesn't require Unicode normalization to be performed, if it…
comment by seagreen · 2017-03-14 · in Son – A minimal subset of JSON for machine-to-machine communication -
…strings. Should it be on escaped strings instead? There's an issue open to discuss this here: https://github.com/seagreen/Son/issues/1 EDIT: I am curious what Unicode recommends for language-aware sorting, even though we're not going to…
comment by seagreen · 2017-03-14 · in Son – A minimal subset of JSON for machine-to-machine communication -
jq is great. You can actually see how it's used to test the reference implementation of Son here ( https://github.com/seagreen/Son/blob/master/implementation/t... ) using `jq --compact-output --sort-keys .` Unfortunately, jq doesn't…
comment by seagreen · 2017-03-14 · in Son – A minimal subset of JSON for machine-to-machine communication -
Thanks for brining Canonical JSON up. There's an issue to investigate it here: https://github.com/seagreen/Son/issues/7 It doesn't appear that Canonical JSON does anything about redundant escape sequences in JSON. I'm still looking into it…
comment by seagreen · 2017-03-14 · in Son – A minimal subset of JSON for machine-to-machine communication -
…look at StrongLink: https://github.com/btrask/stronglink Your JSON subset is very interesting too: https://github.com/seagreen/Son
comment by vmorgulis · 2017-02-14 · in Watching Wikipedia's extinction event from a distance