upleb.uk

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

summaryrefslogtreecommitdiff
path: root/05.md
diff options
context:
space:
mode:
authorhodlbod <jstaab@protonmail.com>2024-09-03 13:56:56 -0700
committerGitHub <noreply@github.com>2024-09-03 13:56:56 -0700
commitc02b161d9ed8f2edb7633b467ad2dd25252ed55c (patch)
tree0a9198bac9d1976cf0744c30516400ee5cff26aa /05.md
parent378dfaa5dbf44bd1f17fd70f8727b636b7c99239 (diff)
parentc8dc1eadffe0ff894ec39e291c5b28bb18e6db9e (diff)
Merge pull request #1477 from kehiy/jsonc
format(all): JSON formatting
Diffstat (limited to '05.md')
-rw-r--r--05.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/05.md b/05.md
index eeca551..ca6da7b 100644
--- a/05.md
+++ b/05.md
@@ -16,12 +16,12 @@ The result should be a JSON document object with a key `"names"` that should the
16 16
17If a client sees an event like this: 17If 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