@licho @helge I think @context might be useful for documenting properties and types. But that's it. JSON-LD processing doesn't seem to solve any problem developers face in the real world, and I know several cases where developers started with JSON-LD-first approach and then regretted it :)
Conversation
Notices
-
silverpill (silverpill@mitra.social)'s status on Friday, 31-Jan-2025 20:50:07 JST silverpill
-
LS (lain@lain.com)'s status on Friday, 31-Jan-2025 21:02:11 JST LS
@silverpill @licho @helge i have yet to find a single reason to actually engage with the LD part, it's completely useless. There's no situation I ever heard about where it would be useful (on the fediverse). -
Angry Sun (sun@shitposter.world)'s status on Friday, 31-Jan-2025 21:05:48 JST Angry Sun
@silverpill I tried starting with json-ld-first and regretted it. i really gave it a serious try.
it is TOO "flexible" for parsing if you assume you are going to take any valid json-ld. matching on expanded form is also awful.silverpill repeated this. -
FenTiger (fentiger@zotum.net)'s status on Friday, 31-Jan-2025 21:18:09 JST FenTiger
This was my experience too.
It also doesn't play very well in practice with JCS canonicalisation, as used by FEP-8b32 signatures: #^https://zotum.net/channel/fentiger?mid=d9557d63-a9e5-4bba-a39d-e2ee785def42
Trying to treat messages as "JSON-LD first" has taken me a very long way down a blind alley, and cost me a lot of time.
:( -
silverpill (silverpill@mitra.social)'s status on Saturday, 01-Feb-2025 00:04:15 JST silverpill
@raphael I don't have any issues with parsing data. Maybe JSON-LD makes it easier to parse different kinds of values (string vs object vs array), but in the grand scheme of things this is not a significant advantage, which is dwarfed by interop issues, poor performance and increased cognitive load. Moreover, the problem with value variability is the problem that was created by JSON-LD in the first place (and which can be fixed by standard JSON schemas).
-
Raphael Lullis (raphael@mastodon.communick.com)'s status on Saturday, 01-Feb-2025 00:04:16 JST Raphael Lullis
> JSON-LD processing doesn't seem to solve any problem developers face in the real world
To me, it's the opposite. Without JSON-LD, my application needs to have a bunch of parsing/serializing code in order to talk with everyone else. With JSON-LD, we could just rely on any RDF library and get the data structures that we need right away.
By avoiding JSON-LD, you end up dealing with *more* complexity, not less.
-