{"action":"created","issue":{"url":"https://api.github.com/repos/serde-rs/serde/issues/554","repository_url":"https://api.github.com/repos/serde-rs/serde","labels_url":"https://api.github.com/repos/serde-rs/serde/issues/554/labels{/name}","comments_url":"https://api.github.com/repos/serde-rs/serde/issues/554/comments","events_url":"https://api.github.com/repos/serde-rs/serde/issues/554/events","html_url":"https://github.com/serde-rs/serde/issues/554","id":178894446,"number":554,"title":"Include struct name when serializing structs","user":{"login":"dtolnay","id":1940490,"avatar_url":"https://avatars.githubusercontent.com/u/1940490?v=3","gravatar_id":"","url":"https://api.github.com/users/dtolnay","html_url":"https://github.com/dtolnay","followers_url":"https://api.github.com/users/dtolnay/followers","following_url":"https://api.github.com/users/dtolnay/following{/other_user}","gists_url":"https://api.github.com/users/dtolnay/gists{/gist_id}","starred_url":"https://api.github.com/users/dtolnay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtolnay/subscriptions","organizations_url":"https://api.github.com/users/dtolnay/orgs","repos_url":"https://api.github.com/users/dtolnay/repos","events_url":"https://api.github.com/users/dtolnay/events{/privacy}","received_events_url":"https://api.github.com/users/dtolnay/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/serde-rs/serde/labels/support","name":"support","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-23T14:38:30Z","updated_at":"2016-09-23T15:07:15Z","closed_at":null,"body":"@alteous asked in IRC:\r\n\r\n> When generating JSON, the \"tag\" of an enum is included, e.g. enum Foo { Bar { x: i32 } } => {\"Bar\":{\"x\":123}}. I need that tag but with structs, i.e. I want to go from struct Bar { x: i32 } instead of Foo::Bar. Is there anyway generic way of doing this?"},"comment":{"url":"https://api.github.com/repos/serde-rs/serde/issues/comments/249218008","html_url":"https://github.com/serde-rs/serde/issues/554#issuecomment-249218008","issue_url":"https://api.github.com/repos/serde-rs/serde/issues/554","id":249218008,"user":{"login":"Alteous","id":8549126,"avatar_url":"https://avatars.githubusercontent.com/u/8549126?v=3","gravatar_id":"","url":"https://api.github.com/users/Alteous","html_url":"https://github.com/Alteous","followers_url":"https://api.github.com/users/Alteous/followers","following_url":"https://api.github.com/users/Alteous/following{/other_user}","gists_url":"https://api.github.com/users/Alteous/gists{/gist_id}","starred_url":"https://api.github.com/users/Alteous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alteous/subscriptions","organizations_url":"https://api.github.com/users/Alteous/orgs","repos_url":"https://api.github.com/users/Alteous/repos","events_url":"https://api.github.com/users/Alteous/events{/privacy}","received_events_url":"https://api.github.com/users/Alteous/received_events","type":"User","site_admin":false},"created_at":"2016-09-23T15:07:15Z","updated_at":"2016-09-23T15:07:15Z","body":"Thanks for your reply. The second approach seems more future-proof and is more appropriate for my needs so I'll give it a try."}}
{"actor":{"display_login":"Alteous"}}