{"action":"opened","issue":{"url":"https://api.github.com/repos/ethereum/solidity/issues/758","repository_url":"https://api.github.com/repos/ethereum/solidity","labels_url":"https://api.github.com/repos/ethereum/solidity/issues/758/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/solidity/issues/758/comments","events_url":"https://api.github.com/repos/ethereum/solidity/issues/758/events","html_url":"https://github.com/ethereum/solidity/issues/758","id":168147734,"number":758,"title":"JSON output: empty fields","user":{"login":"axic","id":20340,"avatar_url":"https://avatars.githubusercontent.com/u/20340?v=3","gravatar_id":"","url":"https://api.github.com/users/axic","html_url":"https://github.com/axic","followers_url":"https://api.github.com/users/axic/followers","following_url":"https://api.github.com/users/axic/following{/other_user}","gists_url":"https://api.github.com/users/axic/gists{/gist_id}","starred_url":"https://api.github.com/users/axic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axic/subscriptions","organizations_url":"https://api.github.com/users/axic/orgs","repos_url":"https://api.github.com/users/axic/repos","events_url":"https://api.github.com/users/axic/events{/privacy}","received_events_url":"https://api.github.com/users/axic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-28T17:10:50Z","updated_at":"2016-07-28T17:10:50Z","closed_at":null,"body":"The JSON output is a bit inconsistent when dealing with missing fields.\r\n\r\nFor example an abstract contract might not have bytecode and opcodes, in such a case:\r\n- assembly: null\r\n- bytecode: \"\"\r\n- opcodes: \"\"\r\n- runtimeBytecode: \"\"\r\n- srcmap: \"\"\r\n- srcmap-runtime: \"\"\r\n\r\nIn the case when a contract doesn't have an interface (only fallback is implemented):\r\n- interface: \"[]\\n\"\r\n\r\nI would think all of these should be null (or the field omitted from JSON) if they are not defined."}}
{"actor":{"display_login":"axic"}}