Skip to content

Instantly share code, notes, and snippets.

@imcj
Created February 25, 2019 14:19
Show Gist options
  • Save imcj/5f4ef1a4a6af0f8dc14ff22ef9f160a7 to your computer and use it in GitHub Desktop.
Save imcj/5f4ef1a4a6af0f8dc14ff22ef9f160a7 to your computer and use it in GitHub Desktop.
Spring data page
{
"content": [
{
"id": 35,
"list_id": 7,
"author": {
"id": 1,
"name": "cj",
"avatar_url": null
},
"title": "test",
"follow_number": 0,
"reply_number": 0,
"join_number": 0,
"is_attachment": 0,
"summary": null,
"do_status": 1,
"updated_at": 1550909181000,
"deadline": null,
"published_at": null,
"created_at": 1550909098000,
"color": "#eeeeee"
}
],
"pageable": {
"sort": {
"sorted": true,
"unsorted": false,
"empty": false
},
"offset": 2,
"page_size": 1,
"page_number": 2,
"paged": true,
"unpaged": false
},
"total_elements": 12,
"total_pages": 12,
"last": false,
"size": 1,
"number": 2,
"sort": {
"sorted": true,
"unsorted": false,
"empty": false
},
"number_of_elements": 1,
"first": false,
"empty": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment