{"action":"created","issue":{"url":"https://api.github.com/repos/uber/thriftrw-python/issues/14","labels_url":"https://api.github.com/repos/uber/thriftrw-python/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/uber/thriftrw-python/issues/14/comments","events_url":"https://api.github.com/repos/uber/thriftrw-python/issues/14/events","html_url":"https://github.com/uber/thriftrw-python/issues/14","id":104532404,"number":14,"title":"to_primitive/to_native","user":{"login":"abhinav","id":41730,"avatar_url":"https://avatars.githubusercontent.com/u/41730?v=3","gravatar_id":"","url":"https://api.github.com/users/abhinav","html_url":"https://github.com/abhinav","followers_url":"https://api.github.com/users/abhinav/followers","following_url":"https://api.github.com/users/abhinav/following{/other_user}","gists_url":"https://api.github.com/users/abhinav/gists{/gist_id}","starred_url":"https://api.github.com/users/abhinav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhinav/subscriptions","organizations_url":"https://api.github.com/users/abhinav/orgs","repos_url":"https://api.github.com/users/abhinav/repos","events_url":"https://api.github.com/users/abhinav/events{/privacy}","received_events_url":"https://api.github.com/users/abhinav/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"abhinav","id":41730,"avatar_url":"https://avatars.githubusercontent.com/u/41730?v=3","gravatar_id":"","url":"https://api.github.com/users/abhinav","html_url":"https://github.com/abhinav","followers_url":"https://api.github.com/users/abhinav/followers","following_url":"https://api.github.com/users/abhinav/following{/other_user}","gists_url":"https://api.github.com/users/abhinav/gists{/gist_id}","starred_url":"https://api.github.com/users/abhinav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhinav/subscriptions","organizations_url":"https://api.github.com/users/abhinav/orgs","repos_url":"https://api.github.com/users/abhinav/repos","events_url":"https://api.github.com/users/abhinav/events{/privacy}","received_events_url":"https://api.github.com/users/abhinav/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2015-09-02T17:27:14Z","updated_at":"2015-10-05T22:46:54Z","closed_at":null,"body":"We should implement `to_primitive` and `to_native` methods akin to schematics.\r\n\r\n`to_primitive` would convert arbitrary Thrift objects into JSON-able primitive types (dictionaries, lists, numerals, and strings), and `to_native` would be a class method to convert them back into an instance."},"comment":{"url":"https://api.github.com/repos/uber/thriftrw-python/issues/comments/145690559","html_url":"https://github.com/uber/thriftrw-python/issues/14#issuecomment-145690559","issue_url":"https://api.github.com/repos/uber/thriftrw-python/issues/14","id":145690559,"user":{"login":"breerly","id":263587,"avatar_url":"https://avatars.githubusercontent.com/u/263587?v=3","gravatar_id":"","url":"https://api.github.com/users/breerly","html_url":"https://github.com/breerly","followers_url":"https://api.github.com/users/breerly/followers","following_url":"https://api.github.com/users/breerly/following{/other_user}","gists_url":"https://api.github.com/users/breerly/gists{/gist_id}","starred_url":"https://api.github.com/users/breerly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breerly/subscriptions","organizations_url":"https://api.github.com/users/breerly/orgs","repos_url":"https://api.github.com/users/breerly/repos","events_url":"https://api.github.com/users/breerly/events{/privacy}","received_events_url":"https://api.github.com/users/breerly/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T22:46:54Z","updated_at":"2015-10-05T22:46:54Z","body":"+1"}}