diff options
Diffstat (limited to '01.md')
| -rw-r--r-- | 01.md | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -43,7 +43,7 @@ To obtain the `event.id`, we `sha256` the serialized event. The serialization is | |||
| 43 | ``` | 43 | ``` |
| 44 | 44 | ||
| 45 | To prevent implementation differences from creating a different event ID for the same event, the following rules MUST be followed while serializing: | 45 | To prevent implementation differences from creating a different event ID for the same event, the following rules MUST be followed while serializing: |
| 46 | - No whitespace, line breaks or other unnecessary formatting should be included in the output JSON. | 46 | - Whitespace, line breaks or other unnecessary formatting should not be included in the output JSON. |
| 47 | - No characters except the following should be escaped, and instead should be included verbatim: | 47 | - No characters except the following should be escaped, and instead should be included verbatim: |
| 48 | - A line break, `0x0A`, as `\n` | 48 | - A line break, `0x0A`, as `\n` |
| 49 | - A double quote, `0x22`, as `\"` | 49 | - A double quote, `0x22`, as `\"` |