Lea Verou on Nostr: What if clients started secretly parsing JSON comments, trailing commas, unquoted ...
What if clients started secretly parsing JSON comments, trailing commas, unquoted properties, and by the time we realized they were like “Surprise! This has now been deployed everywhere and you can depend on it!”
Published at
2024-08-07 22:33:06Event JSON
{
"id": "d136a882997274bb81a5b406f5fa4015910c6ad05ed18941149491e7ba25b69b",
"pubkey": "deb27057e60b8d796302849309a7c542aa1c718108be4813086deaf9139dff76",
"created_at": 1723069986,
"kind": 1,
"tags": [
[
"proxy",
"https://front-end.social/users/leaverou/statuses/112923114656627227",
"activitypub"
]
],
"content": "What if clients started secretly parsing JSON comments, trailing commas, unquoted properties, and by the time we realized they were like “Surprise! This has now been deployed everywhere and you can depend on it!”",
"sig": "9be49e757d3d1808d333adce91f8fe6e9f0cc012ed5294f61efd120e187b6e7949a4d8f8a5f8f47b862f007c63dceb510aa84b71c168cee0841efe0f78af8cb5"
}