{"action":"created","issue":{"url":"https://api.github.com/repos/mongo-express/mongo-express/issues/280","repository_url":"https://api.github.com/repos/mongo-express/mongo-express","labels_url":"https://api.github.com/repos/mongo-express/mongo-express/issues/280/labels{/name}","comments_url":"https://api.github.com/repos/mongo-express/mongo-express/issues/280/comments","events_url":"https://api.github.com/repos/mongo-express/mongo-express/issues/280/events","html_url":"https://github.com/mongo-express/mongo-express/pull/280","id":185631276,"number":280,"title":"Fixing #237","user":{"login":"heartnetkung","id":1158685,"avatar_url":"https://avatars.githubusercontent.com/u/1158685?v=3","gravatar_id":"","url":"https://api.github.com/users/heartnetkung","html_url":"https://github.com/heartnetkung","followers_url":"https://api.github.com/users/heartnetkung/followers","following_url":"https://api.github.com/users/heartnetkung/following{/other_user}","gists_url":"https://api.github.com/users/heartnetkung/gists{/gist_id}","starred_url":"https://api.github.com/users/heartnetkung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heartnetkung/subscriptions","organizations_url":"https://api.github.com/users/heartnetkung/orgs","repos_url":"https://api.github.com/users/heartnetkung/repos","events_url":"https://api.github.com/users/heartnetkung/events{/privacy}","received_events_url":"https://api.github.com/users/heartnetkung/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-27T10:32:21Z","updated_at":"2016-10-27T17:26:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mongo-express/mongo-express/pulls/280","html_url":"https://github.com/mongo-express/mongo-express/pull/280","diff_url":"https://github.com/mongo-express/mongo-express/pull/280.diff","patch_url":"https://github.com/mongo-express/mongo-express/pull/280.patch"},"body":"![screenshot from 2016-10-27 17 15 45](https://cloud.githubusercontent.com/assets/1158685/19763649/31c2e114-9c69-11e6-936f-4aef0c10ba9c.png)\r\n\r\n## Pull Request Overview\r\n1. add export to csv button\r\n2. use this package `https://github.com/zemirco/json2csv` to convert JSON array to CSV\r\n  - my reason to choose this lib is that it has a lot of stars, it handles multiple schema well, and it handles nested array well\r\n3. special stringify function for ObjectID objects\r\n4. test cases are added to ensure compatibility since csv conversion is can be tricky especially in edge cases\r\n5. there should be no lint issue this time ;)"},"comment":{"url":"https://api.github.com/repos/mongo-express/mongo-express/issues/comments/256713575","html_url":"https://github.com/mongo-express/mongo-express/pull/280#issuecomment-256713575","issue_url":"https://api.github.com/repos/mongo-express/mongo-express/issues/280","id":256713575,"user":{"login":"dozoisch","id":4422516,"avatar_url":"https://avatars.githubusercontent.com/u/4422516?v=3","gravatar_id":"","url":"https://api.github.com/users/dozoisch","html_url":"https://github.com/dozoisch","followers_url":"https://api.github.com/users/dozoisch/followers","following_url":"https://api.github.com/users/dozoisch/following{/other_user}","gists_url":"https://api.github.com/users/dozoisch/gists{/gist_id}","starred_url":"https://api.github.com/users/dozoisch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dozoisch/subscriptions","organizations_url":"https://api.github.com/users/dozoisch/orgs","repos_url":"https://api.github.com/users/dozoisch/repos","events_url":"https://api.github.com/users/dozoisch/events{/privacy}","received_events_url":"https://api.github.com/users/dozoisch/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T17:26:40Z","updated_at":"2016-10-27T17:26:40Z","body":"Hmm! Very good question! If I come up with ideas, I'll let you know."}}
{"actor":{"display_login":"dozoisch"}}