{"action":"created","issue":{"url":"https://api.github.com/repos/pquerna/ffjson/issues/65","labels_url":"https://api.github.com/repos/pquerna/ffjson/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/pquerna/ffjson/issues/65/comments","events_url":"https://api.github.com/repos/pquerna/ffjson/issues/65/events","html_url":"https://github.com/pquerna/ffjson/issues/65","id":56656816,"number":65,"title":"[]byte and []uint8 decoding fails","user":{"login":"klauspost","id":5663952,"avatar_url":"https://avatars.githubusercontent.com/u/5663952?v=3","gravatar_id":"","url":"https://api.github.com/users/klauspost","html_url":"https://github.com/klauspost","followers_url":"https://api.github.com/users/klauspost/followers","following_url":"https://api.github.com/users/klauspost/following{/other_user}","gists_url":"https://api.github.com/users/klauspost/gists{/gist_id}","starred_url":"https://api.github.com/users/klauspost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klauspost/subscriptions","organizations_url":"https://api.github.com/users/klauspost/orgs","repos_url":"https://api.github.com/users/klauspost/repos","events_url":"https://api.github.com/users/klauspost/events{/privacy}","received_events_url":"https://api.github.com/users/klauspost/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-05T11:12:04Z","updated_at":"2015-02-05T15:48:24Z","closed_at":null,"body":"Struct:\r\n```Go\r\ntype ATbyte struct {\r\n\tX []byte\r\n}\r\n```\r\nFails with this content:\r\n```Json\r\n{\"X\":\"VcELoXc4nIW9KPnUoVg=\"}\r\n```\r\n\r\nMessage: \"cannot unmarshal tok:string into Go value for  offset=27 line=1 char=27\""},"comment":{"url":"https://api.github.com/repos/pquerna/ffjson/issues/comments/73068548","html_url":"https://github.com/pquerna/ffjson/issues/65#issuecomment-73068548","issue_url":"https://api.github.com/repos/pquerna/ffjson/issues/65","id":73068548,"user":{"login":"pquerna","id":110123,"avatar_url":"https://avatars.githubusercontent.com/u/110123?v=3","gravatar_id":"","url":"https://api.github.com/users/pquerna","html_url":"https://github.com/pquerna","followers_url":"https://api.github.com/users/pquerna/followers","following_url":"https://api.github.com/users/pquerna/following{/other_user}","gists_url":"https://api.github.com/users/pquerna/gists{/gist_id}","starred_url":"https://api.github.com/users/pquerna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pquerna/subscriptions","organizations_url":"https://api.github.com/users/pquerna/orgs","repos_url":"https://api.github.com/users/pquerna/repos","events_url":"https://api.github.com/users/pquerna/events{/privacy}","received_events_url":"https://api.github.com/users/pquerna/received_events","type":"User","site_admin":false},"created_at":"2015-02-05T15:48:24Z","updated_at":"2015-02-05T15:48:24Z","body":"encoding/json does do base64 decode of these fields here:\r\nhttp://golang.org/src/encoding/json/decode.go?s=2340:2388#L740\r\n\r\n(not documented)\r\n"}}