{"action":"opened","issue":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/5524","repository_url":"https://api.github.com/repos/sequelize/sequelize","labels_url":"https://api.github.com/repos/sequelize/sequelize/issues/5524/labels{/name}","comments_url":"https://api.github.com/repos/sequelize/sequelize/issues/5524/comments","events_url":"https://api.github.com/repos/sequelize/sequelize/issues/5524/events","html_url":"https://github.com/sequelize/sequelize/issues/5524","id":138112077,"number":5524,"title":"Include / Exclude toJSON data","user":{"login":"sushantdhiman","id":9989487,"avatar_url":"https://avatars.githubusercontent.com/u/9989487?v=3","gravatar_id":"","url":"https://api.github.com/users/sushantdhiman","html_url":"https://github.com/sushantdhiman","followers_url":"https://api.github.com/users/sushantdhiman/followers","following_url":"https://api.github.com/users/sushantdhiman/following{/other_user}","gists_url":"https://api.github.com/users/sushantdhiman/gists{/gist_id}","starred_url":"https://api.github.com/users/sushantdhiman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sushantdhiman/subscriptions","organizations_url":"https://api.github.com/users/sushantdhiman/orgs","repos_url":"https://api.github.com/users/sushantdhiman/repos","events_url":"https://api.github.com/users/sushantdhiman/events{/privacy}","received_events_url":"https://api.github.com/users/sushantdhiman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-03T08:35:45Z","updated_at":"2016-03-03T08:35:45Z","closed_at":null,"body":"`Model` should allow configuring the attributes that will be included or excluded in the `toJSON()` output. It can also work when performing `toJSON()` for eager loaded models."}}