{
"key": "value"
}
{ ... }
is an object"key"
is a property
{
"self": "http://martin-nally.name#",
"bornIn": "http://www.scotland.org#"
}
Also works when working with custom types such as date
{
"self": "http://martin-nally.name#",
"bornIn": {
"_value": "http://www.scotland.org#",
"_datatype": "entity"
}
}
{
"self": "http://martin-nally.name#",
"bornIn": {"self": "http://www.scotland.org#"}
}
collections are entities
{"self": "http://scotland.org/native-sons",
"contents": [
{"self": "http://martin-nally.name#"},
{"self": "many more like this"}
]
}