Show HN: JSON Namespaces (github.com)

2 points by xamde ↗ HN
While working in the Open Canvas Working Group, I was introduced by members of the glTF working group to their current mechanism for managing extensions in a JSON-based format. Taken to its logical extreme, this can be seen as another step in the JSON-stack re-inventing tools from the XML-stack. In this regards, let’s define the concept for JSON clearly. Welcome to JSON Namespaces.

1 comment

[ 2.9 ms ] story [ 15.2 ms ] thread
This has been invented multiple times in JSON.

For a widely deployed example, take a look at how JSON-LD uses IRIs for keys and how the context object plays into that. The whole fediverse is built on top of it.