Hacker GitHub

← All repos

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

Mentions per year 15 mentions · busiest year 2017 (15)
20082026
  1. https://github.com/seagreen/Son/issues/10
  2. 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.
  3. …not specifying the numeric value ranges" [1], in case anyone has anything concrete to suggest. [1] https://github.com/seagreen/Son/issues/3
  4. …Someone very helpfully opened an issue and we're trying to figure out the right wording there: https://github.com/seagreen/Son/issues/13
  5. 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…
  6. 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…
  7. …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…
  8. …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…
  9. 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…
  10. 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…
  11. …look at StrongLink: https://github.com/btrask/stronglink Your JSON subset is very interesting too: https://github.com/seagreen/Son