|
|
|
|
|
by bascule
3347 days ago
|
|
You're describing canonicalization, which incorporates elements of the encoding format into the final hash, and therefore does not facilitate retaining the same content hash when transcoding to different formats. Also, canonicalization is a bit of a mess. There are several incompatible canonicalization schemes for JSON, and even within a single one of those people have a difficult time implementing them correctly. See e.g. https://github.com/theupdateframework/tuf/issues/362 |
|
Also, I'm collecting a list of all subsets of JSON here if anyone knows of more: https://housejeffries.com/page/7
EDIT: Wow there's a lot of criticism in this thread. For the record I think TJSON is great.