2026-03-19 16:51 UTC
Replies (5)
-
@halcy@icosahedron.website 2026-03-26 11:21
@mczachurski on the internet, you never know who could be an ISO 8601 datetime.
-
@lritter@mastodon.gamedev.place 2026-03-26 11:24
@mczachurski json is a format. the json parser has no trouble reading it. it's the protocols on top which are often more of a negotiation.
-
@EndlessMason@hachyderm.io 2026-03-26 11:25
@mczachurski Which parser accepts that last one? "url": [ "href": "http...", {} ] that second : seems like it would trip up every parser I've ever seen. I don't even think yaml would be ok with that kind of nonsense
-
@julian@fietkau.social 2026-03-26 11:32
@mczachurski @liaizon That's all expected JSON-LD stuff, I believe. JSON-LD parsers are required to treat a single value as equivalent to an array of length 1 containing the same value, and I think basically any property containing a single value can in theory contain a list of values. In the same vein, parsers are supposed to treat bare object IDs the same as inlined forms of the objects. I've never looked into whether the same goes for links, but it doesn't surprise me if it does.
-
@dch@bsd.network 2026-03-26 11:46
@mczachurski these are real examples from real servers? They have played us for absolute fools.