Colby Serpa💡 on Nostr: Ahh sorry I had just woken up here. 🤣 Not sure what I was saying. It would be ...
Ahh sorry I had just woken up here. 🤣 Not sure what I was saying.
It would be faster serialization/deserialization with CBOR than JSON — and smaller overall. An extra dependency, but a better overall result.
Published at
2024-07-20 23:15:47Event JSON
{
"id": "d1625a05a70c1abffa09b49cde181f5401c60156c1744fd42d8efb539fd985e0",
"pubkey": "59cacbd83ad5c54ad91dacf51a49c06e0bef730ac0e7c235a6f6fa29b9230f02",
"created_at": 1721517347,
"kind": 1,
"tags": [
[
"e",
"f441c6236124835b07b4e2af046fa44ed07b0f79aafe946da2d6ee74b573f32b",
"wss://junxingwang.org",
"root"
],
[
"e",
"a986cf688b62baf2d1c3d36f42e1f4328f9d58dc865dd6d4947e10d01c8ce9b8",
"",
"reply"
],
[
"p",
"1739d937dc8c0c7370aa27585938c119e25c41f6c441a5d34c6d38503e3136ef"
]
],
"content": "Ahh sorry I had just woken up here. 🤣 Not sure what I was saying.\n\nIt would be faster serialization/deserialization with CBOR than JSON — and smaller overall. An extra dependency, but a better overall result.",
"sig": "a4538cf21a1484ec18085c60d940c3acf03bfd54f83d4de0c680d9375d8832171282b0de6e9c69fb43b7f41de99cf36f134be96dc60f89ac4d6710dd5c54bdcd"
}