Skip to content

Instantly share code, notes, and snippets.

@smellymonk
Created February 7, 2015 00:25
Show Gist options
  • Save smellymonk/035e554ad9c4ff2bb6cd to your computer and use it in GitHub Desktop.
Save smellymonk/035e554ad9c4ff2bb6cd to your computer and use it in GitHub Desktop.
{
{ "rel": "report", "_links": { "href": "..." }, "someAttribute": "..." },
{ "rel": "report", "_links": { "href": "..." }, "someAttribute": "..." },
{ "rel": "report", "_links": { "href": "..." }, "someAttribute": "..." },
{ "rel": "report", "_links": { "href": "..." }, "someAttribute": "..." },
...
}
{
"report": [
{ "_links": { "href": "..." }, "someAttribute": "..." },
{ "_links": { "href": "..." }, "someAttribute": "..." },
{ "_links": { "href": "..." }, "someAttribute": "..." },
{ "_links": { "href": "..." }, "someAttribute": "..." },
...
]
}
@smellymonk
Copy link
Author

This assumes that each "report" object when dereferenced will return one object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment