-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
All documents use a subset of the JSON object format, with floating-point numbers omitted. When calculating the digest of an object, we use the "canonical JSON" subdialect as described at http://wiki.laptop.org/go/Canonical_JSON
Canonical JSON may be invalid JSON: canonical json says that control characters must not be escaped:
Because only two byte values are escaped, be aware that JSON-encoded data may contain embedded control characters and nulls.
Whereas JSON mandates that control characters are escaped.
I think this deserves a note in the specification, as normal json encoders and decoders cannot be used.
Metadata
Metadata
Assignees
Labels
No labels