Skip to content

Instantly share code, notes, and snippets.

@lowenthal-jason
Created January 11, 2016 04:59
Show Gist options
  • Save lowenthal-jason/48c0fa82bd4c0dce686e to your computer and use it in GitHub Desktop.
Save lowenthal-jason/48c0fa82bd4c0dce686e to your computer and use it in GitHub Desktop.
Small example of JSON formatting for JSON Jason blog
{
"links": {
"self": "/people"
},
"data": [
{
"type": "people",
"id": 1,
"attributes": {
"firstName": "Jason",
"lastName": "Lowenthal"
}
},
{
"type": "people",
"id": 2,
"attributes": {
"firstName": "Jason",
"lastName": "Smith"
}
},
{
"type": "people",
"id": 3,
"attributes": {
"firstName": "Jason",
"lastName": "Bourne"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment