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 /05.md | |
| parent | b4a2561df7325b8624bc5ffad154ec946ade2f1e (diff) | |
format(all): json formatting
Diffstat (limited to '05.md')
| -rw-r--r-- | 05.md | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -16,12 +16,12 @@ The result should be a JSON document object with a key `"names"` that should the | |||
| 16 | 16 | ||
| 17 | If a client sees an event like this: | 17 | If a client sees an event like this: |
| 18 | 18 | ||
| 19 | ```json | 19 | ```jsonc |
| 20 | { | 20 | { |
| 21 | "pubkey": "b0635d6a9851d3aed0cd6c495b282167acf761729078d975fc341b22650b07b9", | 21 | "pubkey": "b0635d6a9851d3aed0cd6c495b282167acf761729078d975fc341b22650b07b9", |
| 22 | "kind": 0, | 22 | "kind": 0, |
| 23 | "content": "{\"name\": \"bob\", \"nip05\": \"bob@example.com\"}" | 23 | "content": "{\"name\": \"bob\", \"nip05\": \"bob@example.com\"}" |
| 24 | ... | 24 | // other fields... |
| 25 | } | 25 | } |
| 26 | ``` | 26 | ``` |
| 27 | 27 | ||