diff options
| author | kehiy <kehiiiiya@gmail.com> | 2024-09-03 20:41:31 +0330 |
|---|---|---|
| committer | kehiy <kehiiiiya@gmail.com> | 2024-09-03 20:41:31 +0330 |
| commit | e6552476aa2e5ca7256be572a9aa226ec8a022ee (patch) | |
| tree | 46f14902bd2bfb85e5f3369ece456c46b697b1a2 /09.md | |
| parent | b4a2561df7325b8624bc5ffad154ec946ade2f1e (diff) | |
format(all): json formatting
Diffstat (limited to '09.md')
| -rw-r--r-- | 09.md | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -12,7 +12,7 @@ The event's `content` field MAY contain a text note describing the reason for th | |||
| 12 | 12 | ||
| 13 | For example: | 13 | For example: |
| 14 | 14 | ||
| 15 | ``` | 15 | ```jsonc |
| 16 | { | 16 | { |
| 17 | "kind": 5, | 17 | "kind": 5, |
| 18 | "pubkey": <32-bytes hex-encoded public key of the event creator>, | 18 | "pubkey": <32-bytes hex-encoded public key of the event creator>, |
| @@ -24,7 +24,7 @@ For example: | |||
| 24 | ["k", "30023"] | 24 | ["k", "30023"] |
| 25 | ], | 25 | ], |
| 26 | "content": "these posts were published by accident", | 26 | "content": "these posts were published by accident", |
| 27 | ...other fields | 27 | // other fields... |
| 28 | } | 28 | } |
| 29 | ``` | 29 | ``` |
| 30 | 30 | ||