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 /05.md | |
| parent | 378dfaa5dbf44bd1f17fd70f8727b636b7c99239 (diff) | |
| parent | c8dc1eadffe0ff894ec39e291c5b28bb18e6db9e (diff) | |
Merge pull request #1477 from kehiy/jsonc
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 | ||