Contact us
Here.
I’ve love to be able to do something like this:
{
"name": "Cool Beans",
"account": "http://example.org/accounts/23242342"
}However, any JSON client will have a tough time determining what the meaning of the account value is. Sure, it’s a string. But how should it be treated? And how do I express that to my JSON clients? I’m not about to give them a regular expression and say “if it matches, it’s a URI, and follow it!”
And then asks:
Thoughts? How to express hypermedia in JSON?
The topic map syntax I’ve been using looks like JSON because it is like JSON. The semergence example has two roles (name, account) and two role players (“Cool Beans”, and the URL). What’s missing is the idea of an association type, and the further concept that a community can develop the topics.