Collection+JSON的示例不显示嵌套集合的示例。任何人都可以指出使用嵌套集合的 Collection+JSON 示例或描述他们成功的经验。
例如,这是否适用于链接到两个子集合的顶级入口点:
{
"collection": {
"version": "1.0",
"href": "http://example.org/friends/",
"links": [
{
"rel": "inbox",
"href": "http://example.org/inbox"
},
{
"rel": "contacts",
"href": "http://example.org/contacts"
}
]
}
}