{"action":"opened","issue":{"url":"https://api.github.com/repos/dhlab-basel/json2typescript/issues/73","repository_url":"https://api.github.com/repos/dhlab-basel/json2typescript","labels_url":"https://api.github.com/repos/dhlab-basel/json2typescript/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/dhlab-basel/json2typescript/issues/73/comments","events_url":"https://api.github.com/repos/dhlab-basel/json2typescript/issues/73/events","html_url":"https://github.com/dhlab-basel/json2typescript/issues/73","id":353244493,"node_id":"MDU6SXNzdWUzNTMyNDQ0OTM=","number":73,"title":"Why not use generics with the deserialize method definition?","user":{"login":"g00dnatur3","id":1024460,"node_id":"MDQ6VXNlcjEwMjQ0NjA=","avatar_url":"https://avatars1.githubusercontent.com/u/1024460?v=4","gravatar_id":"","url":"https://api.github.com/users/g00dnatur3","html_url":"https://github.com/g00dnatur3","followers_url":"https://api.github.com/users/g00dnatur3/followers","following_url":"https://api.github.com/users/g00dnatur3/following{/other_user}","gists_url":"https://api.github.com/users/g00dnatur3/gists{/gist_id}","starred_url":"https://api.github.com/users/g00dnatur3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g00dnatur3/subscriptions","organizations_url":"https://api.github.com/users/g00dnatur3/orgs","repos_url":"https://api.github.com/users/g00dnatur3/repos","events_url":"https://api.github.com/users/g00dnatur3/events{/privacy}","received_events_url":"https://api.github.com/users/g00dnatur3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-23T06:40:31Z","updated_at":"2018-08-23T06:40:31Z","closed_at":null,"author_association":"NONE","body":"Look here:\r\n\r\n```\r\nfunction deserialize<T>(obj: object, clazz: {\r\n\tnew (): T;\r\n}): T {\r\n\treturn jsonConvert.deserialize(obj, clazz)\r\n}\r\n```\r\nIs there any value doing it this way?\r\n\r\nI'm curious"}}
{"actor":{"display_login":"g00dnatur3"}}