News for hackers. Stuff that matters.
Re:JSON for Linking Data by CharlesW on Sunday March 26, 2023 @11:13PM (#35322465)
For those more familiar with it, didn't this decade-old standard die with other efforts the Semantic Web?
Re:JSON for Linking Data by x-complexity on Sunday March 26, 2023 @11:41PM (#35322615)
It's reductively the same thing as the Semantic Web, just for JSON. It still suffers from the link rot issue, as well as the left-pad issue.

https://news.ycombinator.com/item?id=35322592

Re:JSON for Linking Data by endtime on Sunday March 26, 2023 @11:47PM (#35322650)
The canonical JSON mapping of protocol buffers uses a JSON-LD @type field for google.protobuf.Any.

Other than that, the only use I've ever run into is for Schema.org, which is as you say a "semantic web"-era initiative.

Re:JSON for Linking Data by dunham on Monday March 27, 2023 @11:42AM (#35328134)
Because of Google, json-ld is very common on recipe web sites on the web. (Recipes for cooking.) It's typically found in a script tag and usually contains the full recipe, even if the page itself is paywalled.

This can neatly solve the problem of extracting the recipe to save, and the complaints about having to dig through a page of text to read a recipe. I wrote a little browser plugin that pops up the recipe in a window and offers to save it to Obsidian (using a custom url and hammerspoon).

I don't know if the schema.org stuff is in wide use outside of that. It would perhaps be useful to enable a browser to pull things like appointments and contacts out of a web page, but I suspect the world will just go the way of data detection instead.

Re:JSON for Linking Data by karmahunter1234 on Monday March 27, 2023 @12:19PM (#35328579)
Google also uses them for other types of structured information to show what they call "rich results": https://developers.google.com/search/docs/appearance/structu...
Re:JSON for Linking Data by luckylion on Monday March 27, 2023 @03:21AM (#35323813)
It's used to provide microdata to Google, e.g. to talk about the fake reviews you host on your site, which Google parses and rewards by showing a star-rating next to your result. It won't die as long as Google continues to use it.
Re:JSON for Linking Data by morelisp on Monday March 27, 2023 @06:53AM (#35325076)
With industry bullshit starting to pare down, time for the academia bullshit to ramp up again!