The examples for Collection+JSON do not show examples of nested collections. Can anyone point to an example of Collection+JSON using nested collections or describe an experience where they had success.
For example, would this work for a top level entry point that links to two sub-collections:
{
"collection": {
"version": "1.0",
"href": "http://example.org/friends/",
"links": [
{
"rel": "inbox",
"href": "http://example.org/inbox"
},
{
"rel": "contacts",
"href": "http://example.org/contacts"
}
]
}
}