Better HN
topnewbestaskshowjobs
Log inSign up

asbjornu

1 karma · joined May 25, 2010 (16y ago) · 2 submissions

[ my public key: https://keybase.io/asbjornu; my proof: https://keybase.io/asbjornu/sigs/rmOCPQHKeLZYobRcIDUY2fgynq-hdqiW1yYKAv6cr88 ]
Submissions

comment 10y ago · link · parent

JSON-LD[1], a way to express hyperlinks (linked data) in JSON documents, strongly encourages the use of shared vocabularies instead of every API being their own snowflake with their own private vocabulary every developer need to invest a lot of time into understanding. Schema.org is one such vocabulary.

Not having to read documentation to understand whether the "table" property in the JSON document means "coffee table" or "tabular data" is going to save developers worldwide umpteen man-years. Still, most API developers continue creating snowflakes with proprietary designs, protocols and vocabularies.

JSON-LD is a large step in the right direction by making it easy to share vocabularies. Hydra[2] takes the next logical step by standardizing the protocol as well, so no matter what your API does, it has one standardized way to express it.

[1]: http://json-ld.org/ [2]: http://www.hydra-cg.com/

comment 10y ago · link · parent

My thought was Hydra when I read the suggestion as well. As Ivan Goncharov mentions JSON-LD in his blog post, I find it a perfect match.