Clarify Dictionary canonical form

This commit is contained in:
Tony Garnock-Jones 2019-10-08 14:06:08 +01:00
parent 5b0ad234fd
commit ab1ef92334
1 changed files with 4 additions and 1 deletions

View File

@ -57,7 +57,10 @@ following the total order relation defined in the
**Dictionaries.**
The key-value pairs in a `Dictionary` MUST be serialized sorted in
ascending order by key, following the total order relation defined in
the [Preserves specification][spec].
the [Preserves specification][spec].[^no-need-for-by-value]
[^no-need-for-by-value]: There is no need to order by (key, value)
pair, since a `Dictionary` has no duplicate keys.
**Other kinds of `Value`.**
There are no special canonicalization restrictions on `String`s,