Skip to content

Instantly share code, notes, and snippets.

@mamund
Created June 14, 2013 14:17
Show Gist options
  • Save mamund/5782142 to your computer and use it in GitHub Desktop.
Save mamund/5782142 to your computer and use it in GitHub Desktop.
Adding "object" support to collection+json
// sample links array
{
"collection" :
{
"version" : "1.0",
"href" : URI,
"items" :
[
{
"href" : URI,
"object" : {}, // <-- arbitrary object graph
"data" : [ARRAY],
"links" : [ARRAY]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment