Skip to content

Instantly share code, notes, and snippets.

@joakin
Last active August 29, 2015 14:15
Show Gist options
  • Save joakin/c62b4d1b751ffd419b25 to your computer and use it in GitHub Desktop.
Save joakin/c62b4d1b751ffd419b25 to your computer and use it in GitHub Desktop.
{
"id": 1,
"title": "Fake collection",
"description": "With a fake description",
"owner": "User",
"public": true,
"image": "Monyigote.png",
"items": [
"Albert Einstein",
"Burrito",
"Monyigote"
]
}
[{
"id": 0,
"title": "Watchlist",
"description": "Pages I watch",
"owner": "User",
"public": false,
"count": 4,
"image": "Fucka_2015-02-16_11-53.jpg"
},{
"id": 1,
"title": "Fake collection",
"description": "With a fake description",
"owner": "User",
"public": true,
"count": 8,
"image": "Fucka_2015-02-16_11-53.jpg"
}]
@rmoen
Copy link

rmoen commented Feb 20, 2015

Note: Remove comma after last line in each json object or else json fails to parse. This will not be a problem when we implement storage as PHP will create valid JSON.

@joakin
Copy link
Author

joakin commented Feb 23, 2015

it works for me? 😕

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