News for hackers. Stuff that matters.
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...