Nicolas Martyanoff on Nostr: [1/2] I've hesitated a lot between two options. The left option is simpler, but ...
[1/2]
I've hesitated a lot between two options.
The left option is simpler, but requires allowing duplicate entries. The right option preserves unicit, but is more complex and relies on keys being potentially strings and not just symbols.
Published at
2024-12-26 14:27:37Event JSON
{
"id": "8e093f9616d4f2fa58f0c39d9306bd6a6ea3464a6552f4b089d3959bcc3991e2",
"pubkey": "6d91e7b056ab18986298e04a8b278a5e070a726487fd30a599427c79db9070e9",
"created_at": 1735223257,
"kind": 1,
"tags": [
[
"imeta",
"url https://cdn.fosstodon.org/media_attachments/files/113/719/591/083/049/566/original/a3fcdb55582cb944.png",
"m image/png",
"dim 909x228",
"blurhash U04eNY%gba_3~X%Mof-;0wafjGxaogI.s;xH"
],
[
"proxy",
"https://fosstodon.org/users/galdor/statuses/113719591394986878",
"activitypub"
]
],
"content": "[1/2]\nI've hesitated a lot between two options.\n\nThe left option is simpler, but requires allowing duplicate entries. The right option preserves unicit, but is more complex and relies on keys being potentially strings and not just symbols.\n\nhttps://cdn.fosstodon.org/media_attachments/files/113/719/591/083/049/566/original/a3fcdb55582cb944.png",
"sig": "186f23fd1d1038ee5be8a8ddcf047f50c65007bec0fdc057b8fe07a674143f7525cf516751c777f9c56ee832e1551f5552d5714fb09b304fdbb5596729ec2528"
}