Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // object structure
- {
- id: '57dce89f84bec9ff038b456d',
- slug: 'toronto',
- country: {
- id: '564e85d284bec915048b4568'
- },
- views: 14,
- comments: [
- {
- "id": 1,
- "user": {
- id: '5699ab5e84bec978048b4ee0'
- },
- "comment": "blalba bla bla bla",
- "created_at": "08/07/2017",
- "hearts": 5,
- "replies": []
- }, {
- "id": 2,
- "user": {
- id: '57ccf5ac84bec901118b4568'
- },
- "comment": "bla bla bla bla..",
- "created_at": "08/08/2017",
- "hearts": 3,
- "replies": [
- {
- "id": 3,
- "user": {
- id: '5699ab5e84bec978048b4567'
- },
- "comment": "bla lba bla!",
- "created_at": "08/11/2017",
- "hearts": 0,
- "replies": []
- }
- ]
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement