{"action":"created","issue":{"url":"https://api.github.com/repos/eugenp/tutorials/issues/248","labels_url":"https://api.github.com/repos/eugenp/tutorials/issues/248/labels{/name}","comments_url":"https://api.github.com/repos/eugenp/tutorials/issues/248/comments","events_url":"https://api.github.com/repos/eugenp/tutorials/issues/248/events","html_url":"https://github.com/eugenp/tutorials/issues/248","id":106436475,"number":248,"title":"convert List<User> users to Page<User> in spring data mongo Pagination","user":{"login":"pashtika","id":8208031,"avatar_url":"https://avatars.githubusercontent.com/u/8208031?v=3","gravatar_id":"","url":"https://api.github.com/users/pashtika","html_url":"https://github.com/pashtika","followers_url":"https://api.github.com/users/pashtika/followers","following_url":"https://api.github.com/users/pashtika/following{/other_user}","gists_url":"https://api.github.com/users/pashtika/gists{/gist_id}","starred_url":"https://api.github.com/users/pashtika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pashtika/subscriptions","organizations_url":"https://api.github.com/users/pashtika/orgs","repos_url":"https://api.github.com/users/pashtika/repos","events_url":"https://api.github.com/users/pashtika/events{/privacy}","received_events_url":"https://api.github.com/users/pashtika/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-14T21:59:56Z","updated_at":"2015-09-15T10:12:42Z","closed_at":null,"body":"I am really struggling to convert `List<User> users` to `Page<User>` in spring data mongo? Note Page is an API from `org.springframework.data.domain.Page`;\r\n\r\nI am using `Pagination` of Spring Data Mongo, so I need to sent `Page<User>` and not the `List<User>`. Please help me."},"comment":{"url":"https://api.github.com/repos/eugenp/tutorials/issues/comments/140344653","html_url":"https://github.com/eugenp/tutorials/issues/248#issuecomment-140344653","issue_url":"https://api.github.com/repos/eugenp/tutorials/issues/248","id":140344653,"user":{"login":"pashtika","id":8208031,"avatar_url":"https://avatars.githubusercontent.com/u/8208031?v=3","gravatar_id":"","url":"https://api.github.com/users/pashtika","html_url":"https://github.com/pashtika","followers_url":"https://api.github.com/users/pashtika/followers","following_url":"https://api.github.com/users/pashtika/following{/other_user}","gists_url":"https://api.github.com/users/pashtika/gists{/gist_id}","starred_url":"https://api.github.com/users/pashtika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pashtika/subscriptions","organizations_url":"https://api.github.com/users/pashtika/orgs","repos_url":"https://api.github.com/users/pashtika/repos","events_url":"https://api.github.com/users/pashtika/events{/privacy}","received_events_url":"https://api.github.com/users/pashtika/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T10:12:42Z","updated_at":"2015-09-15T10:12:42Z","body":"Thank you. You're just a great !!"}}