{"action":"closed","issue":{"url":"https://api.github.com/repos/gogo/protobuf/issues/310","repository_url":"https://api.github.com/repos/gogo/protobuf","labels_url":"https://api.github.com/repos/gogo/protobuf/issues/310/labels{/name}","comments_url":"https://api.github.com/repos/gogo/protobuf/issues/310/comments","events_url":"https://api.github.com/repos/gogo/protobuf/issues/310/events","html_url":"https://github.com/gogo/protobuf/issues/310","id":243705359,"number":310,"title":"Question about json tag omitempty","user":{"login":"yushengery","id":16802638,"avatar_url":"https://avatars0.githubusercontent.com/u/16802638?v=4","gravatar_id":"","url":"https://api.github.com/users/yushengery","html_url":"https://github.com/yushengery","followers_url":"https://api.github.com/users/yushengery/followers","following_url":"https://api.github.com/users/yushengery/following{/other_user}","gists_url":"https://api.github.com/users/yushengery/gists{/gist_id}","starred_url":"https://api.github.com/users/yushengery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yushengery/subscriptions","organizations_url":"https://api.github.com/users/yushengery/orgs","repos_url":"https://api.github.com/users/yushengery/repos","events_url":"https://api.github.com/users/yushengery/events{/privacy}","received_events_url":"https://api.github.com/users/yushengery/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-07-18T12:53:02Z","updated_at":"2017-10-07T14:39:28Z","closed_at":"2017-10-07T14:39:28Z","author_association":"NONE","body":"Greetings, \r\nWe are using gogoprotobuf in our production environment,  However I have some question about the generated go files in the JSON tag omitempty\r\nWe need to send the  marshaled  JSON string to other endpoint (PHP/Javascript eg.)  in some circumstance , where the JSON string was generated from protobuf messages. However, the field will be gone if it is \"Zero\" value due to the \"omitempty\"  property. This will make it difficult to handle in the other language.\r\nMy question is why the generator adds the omitempty . How about I remove it away? \r\n\r\nBest Regards."}}
{"actor":{"display_login":"awalterschulze"}}