{"action":"created","issue":{"url":"https://api.github.com/repos/crazyhatfish/ProtoPy/issues/3","labels_url":"https://api.github.com/repos/crazyhatfish/ProtoPy/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/crazyhatfish/ProtoPy/issues/3/comments","events_url":"https://api.github.com/repos/crazyhatfish/ProtoPy/issues/3/events","html_url":"https://github.com/crazyhatfish/ProtoPy/issues/3","id":113965897,"number":3,"title":"Support json-like format to print Message object","user":{"login":"yoki123","id":2094104,"avatar_url":"https://avatars.githubusercontent.com/u/2094104?v=3","gravatar_id":"","url":"https://api.github.com/users/yoki123","html_url":"https://github.com/yoki123","followers_url":"https://api.github.com/users/yoki123/followers","following_url":"https://api.github.com/users/yoki123/following{/other_user}","gists_url":"https://api.github.com/users/yoki123/gists{/gist_id}","starred_url":"https://api.github.com/users/yoki123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoki123/subscriptions","organizations_url":"https://api.github.com/users/yoki123/orgs","repos_url":"https://api.github.com/users/yoki123/repos","events_url":"https://api.github.com/users/yoki123/events{/privacy}","received_events_url":"https://api.github.com/users/yoki123/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-29T02:32:58Z","updated_at":"2015-10-31T17:04:48Z","closed_at":"2015-10-31T17:02:39Z","body":"When I print the `msg` object in Example , the result is\r\n```<exampleproto.CMsgClientGamesPlayed instance at 0xxxxxxxx>```\r\n\r\nAnd the `msg.__dict__` isn't friendly with embedded Message.\r\n```{'token': 'TOKENTOKENTOKENTOKEN', 'games': [<exampleproto.Game instance at 0xxxxxxxxx>], 'game_port': 1337, 'game_ip_address': 287454020}```\r\n\r\nI think the json-like/dict-like format is very helpful to debug decoding result, such as\r\n```{'game_ip_address': 287454020, 'game_port': 1337, 'token': 'TOKENTOKENTOKENTOKEN', 'games': [{'game_id': 1234, 'game_name': 'blah', 'game_version': 0}]}```"},"comment":{"url":"https://api.github.com/repos/crazyhatfish/ProtoPy/issues/comments/152750731","html_url":"https://github.com/crazyhatfish/ProtoPy/issues/3#issuecomment-152750731","issue_url":"https://api.github.com/repos/crazyhatfish/ProtoPy/issues/3","id":152750731,"user":{"login":"crazyhatfish","id":15182547,"avatar_url":"https://avatars.githubusercontent.com/u/15182547?v=3","gravatar_id":"","url":"https://api.github.com/users/crazyhatfish","html_url":"https://github.com/crazyhatfish","followers_url":"https://api.github.com/users/crazyhatfish/followers","following_url":"https://api.github.com/users/crazyhatfish/following{/other_user}","gists_url":"https://api.github.com/users/crazyhatfish/gists{/gist_id}","starred_url":"https://api.github.com/users/crazyhatfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crazyhatfish/subscriptions","organizations_url":"https://api.github.com/users/crazyhatfish/orgs","repos_url":"https://api.github.com/users/crazyhatfish/repos","events_url":"https://api.github.com/users/crazyhatfish/events{/privacy}","received_events_url":"https://api.github.com/users/crazyhatfish/received_events","type":"User","site_admin":false},"created_at":"2015-10-31T17:04:48Z","updated_at":"2015-10-31T17:04:48Z","body":"Its funny, I needed a to_dict function a few days ago, just hadn't committed it. Thanks for the help though."}}