News for hackers. Stuff that matters.
Re:Son – A minimal subset of JSON for machine-to-machine com... by seagreen on Tuesday March 14, 2017 @05:01PM (#13871438)
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 provide flags to control scientific/non-scientific notation or which characters are escaped, meaning if you want very tight control over the JSON generated it's not a full option.

(Consider that the motivating example in the Son README isn't all you might want to use Son for. For instance some people need consistent hashing of serialized JSON documents).

Re:Son – A minimal subset of JSON for machine-to-machine com... by kornish on Wednesday March 15, 2017 @12:10AM (#13873741)
Ah, understood - thanks for clarifying!

Side note: I respect your positivity and steadfastness in the face of a skeptical HN response.

Re:Son – A minimal subset of JSON for machine-to-machine com... by seagreen on Wednesday March 15, 2017 @01:54AM (#13874096)
Sure thing. And thanks, that made me smile.