{"action":"closed","issue":{"url":"https://api.github.com/repos/jinzhu/gorm/issues/1297","repository_url":"https://api.github.com/repos/jinzhu/gorm","labels_url":"https://api.github.com/repos/jinzhu/gorm/issues/1297/labels{/name}","comments_url":"https://api.github.com/repos/jinzhu/gorm/issues/1297/comments","events_url":"https://api.github.com/repos/jinzhu/gorm/issues/1297/events","html_url":"https://github.com/jinzhu/gorm/issues/1297","id":198378097,"number":1297,"title":"db.Find(&user) to json with gin","user":{"login":"Gnadi","id":15075183,"avatar_url":"https://avatars.githubusercontent.com/u/15075183?v=3","gravatar_id":"","url":"https://api.github.com/users/Gnadi","html_url":"https://github.com/Gnadi","followers_url":"https://api.github.com/users/Gnadi/followers","following_url":"https://api.github.com/users/Gnadi/following{/other_user}","gists_url":"https://api.github.com/users/Gnadi/gists{/gist_id}","starred_url":"https://api.github.com/users/Gnadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gnadi/subscriptions","organizations_url":"https://api.github.com/users/Gnadi/orgs","repos_url":"https://api.github.com/users/Gnadi/repos","events_url":"https://api.github.com/users/Gnadi/events{/privacy}","received_events_url":"https://api.github.com/users/Gnadi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-02T20:30:58Z","updated_at":"2017-01-03T09:51:57Z","closed_at":"2017-01-03T09:51:57Z","body":"Hey \r\nI am programming a rest service with gorm so I want to GET all users as JSON.\r\n`var users = db.Find(&models.Person{})`\r\n`c.JSON(200, users)`\r\n\r\nAll I get with this code is a json with only one user.\r\n\r\nThank you"}}
{"actor":{"display_login":"Gnadi"}}