{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/bond/issues/149","repository_url":"https://api.github.com/repos/Microsoft/bond","labels_url":"https://api.github.com/repos/Microsoft/bond/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/bond/issues/149/comments","events_url":"https://api.github.com/repos/Microsoft/bond/issues/149/events","html_url":"https://github.com/Microsoft/bond/issues/149","id":148138474,"number":149,"title":"Add support for structs as map keys","user":{"login":"jordanelder","id":2342383,"avatar_url":"https://avatars.githubusercontent.com/u/2342383?v=3","gravatar_id":"","url":"https://api.github.com/users/jordanelder","html_url":"https://github.com/jordanelder","followers_url":"https://api.github.com/users/jordanelder/followers","following_url":"https://api.github.com/users/jordanelder/following{/other_user}","gists_url":"https://api.github.com/users/jordanelder/gists{/gist_id}","starred_url":"https://api.github.com/users/jordanelder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordanelder/subscriptions","organizations_url":"https://api.github.com/users/jordanelder/orgs","repos_url":"https://api.github.com/users/jordanelder/repos","events_url":"https://api.github.com/users/jordanelder/events{/privacy}","received_events_url":"https://api.github.com/users/jordanelder/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/bond/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-13T18:07:50Z","updated_at":"2016-04-13T18:21:09Z","closed_at":null,"body":"I am working on a schema in which Guids are used as the keys in maps. I am doing this by creating a type alias between Guid and string, and using a BondTypeAliasConverter class to convert them.\r\n\r\nI would like to be able to use the Bond.GUID struct as a map key instead of a string, so that the binary serialized output is more compact."},"comment":{"url":"https://api.github.com/repos/Microsoft/bond/issues/comments/209578304","html_url":"https://github.com/Microsoft/bond/issues/149#issuecomment-209578304","issue_url":"https://api.github.com/repos/Microsoft/bond/issues/149","id":209578304,"user":{"login":"jordanelder","id":2342383,"avatar_url":"https://avatars.githubusercontent.com/u/2342383?v=3","gravatar_id":"","url":"https://api.github.com/users/jordanelder","html_url":"https://github.com/jordanelder","followers_url":"https://api.github.com/users/jordanelder/followers","following_url":"https://api.github.com/users/jordanelder/following{/other_user}","gists_url":"https://api.github.com/users/jordanelder/gists{/gist_id}","starred_url":"https://api.github.com/users/jordanelder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordanelder/subscriptions","organizations_url":"https://api.github.com/users/jordanelder/orgs","repos_url":"https://api.github.com/users/jordanelder/repos","events_url":"https://api.github.com/users/jordanelder/events{/privacy}","received_events_url":"https://api.github.com/users/jordanelder/received_events","type":"User","site_admin":false},"created_at":"2016-04-13T18:21:09Z","updated_at":"2016-04-13T18:21:09Z","body":"Kind of, but I'm looking at the bigger picture. Guids aren't necessarily the only thing I want to use as a dictionary key."}}