upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/01.md
diff options
context:
space:
mode:
Diffstat (limited to '01.md')
-rw-r--r--01.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/01.md b/01.md
index b51fdf0..cdd8b90 100644
--- a/01.md
+++ b/01.md
@@ -43,7 +43,7 @@ To obtain the `event.id`, we `sha256` the serialized event. The serialization is
43``` 43```
44 44
45To prevent implementation differences from creating a different event ID for the same event, the following rules MUST be followed while serializing: 45To 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 `\"`