| ▲ | fpoling 3 days ago | |||||||
If one has a reproducible JSON serializer, then one can add a signature to any JSON object via serializing the object, signing that and then adding the resulting signature to the original object. This avoids JSON-inside-JSOn and allows to pretty-print the original object with the signature. | ||||||||
| ▲ | baobun 3 days ago | parent [-] | |||||||
> If one has a reproducible JSON serializer Pretty significant catch if interoperability is a concern at all. Whitespace is easy enough to handle but how do dict keys get ordered? Are unquoted numbers with high precision output as-is or truncated to floats/JS Numbers? Is scientific notation ever used and if so when? | ||||||||
| ||||||||