diff options
| author | hodlbod <jstaab@protonmail.com> | 2024-09-03 13:56:56 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-03 13:56:56 -0700 |
| commit | c02b161d9ed8f2edb7633b467ad2dd25252ed55c (patch) | |
| tree | 0a9198bac9d1976cf0744c30516400ee5cff26aa /09.md | |
| parent | 378dfaa5dbf44bd1f17fd70f8727b636b7c99239 (diff) | |
| parent | c8dc1eadffe0ff894ec39e291c5b28bb18e6db9e (diff) | |
Merge pull request #1477 from kehiy/jsonc
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 | ||