{"action":"closed","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/14759","repository_url":"https://api.github.com/repos/yiisoft/yii2","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/14759/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/14759/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/14759/events","html_url":"https://github.com/yiisoft/yii2/issues/14759","id":255220074,"node_id":"MDU6SXNzdWUyNTUyMjAwNzQ=","number":14759,"title":"Error return when using JSON_FORMAT with NULL value","user":{"login":"xpader","id":8629617,"node_id":"MDQ6VXNlcjg2Mjk2MTc=","avatar_url":"https://avatars3.githubusercontent.com/u/8629617?v=4","gravatar_id":"","url":"https://api.github.com/users/xpader","html_url":"https://github.com/xpader","followers_url":"https://api.github.com/users/xpader/followers","following_url":"https://api.github.com/users/xpader/following{/other_user}","gists_url":"https://api.github.com/users/xpader/gists{/gist_id}","starred_url":"https://api.github.com/users/xpader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xpader/subscriptions","organizations_url":"https://api.github.com/users/xpader/orgs","repos_url":"https://api.github.com/users/xpader/repos","events_url":"https://api.github.com/users/xpader/events{/privacy}","received_events_url":"https://api.github.com/users/xpader/received_events","type":"User","site_admin":false},"labels":[{"id":718785936,"node_id":"MDU6TGFiZWw3MTg3ODU5MzY=","url":"https://api.github.com/repos/yiisoft/yii2/labels/good%20first%20issue","name":"good first issue","color":"0e8a16","default":true},{"id":452052517,"node_id":"MDU6TGFiZWw0NTIwNTI1MTc=","url":"https://api.github.com/repos/yiisoft/yii2/labels/hacktoberfest","name":"hacktoberfest","color":"006b75","default":false},{"id":33241821,"node_id":"MDU6TGFiZWwzMzI0MTgyMQ==","url":"https://api.github.com/repos/yiisoft/yii2/labels/status:under%20discussion","name":"status:under discussion","color":"f7c6c7","default":false},{"id":33208443,"node_id":"MDU6TGFiZWwzMzIwODQ0Mw==","url":"https://api.github.com/repos/yiisoft/yii2/labels/type:bug","name":"type:bug","color":"e102d8","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/yiisoft/yii2/milestones/25","html_url":"https://github.com/yiisoft/yii2/milestone/25","labels_url":"https://api.github.com/repos/yiisoft/yii2/milestones/25/labels","id":2562828,"node_id":"MDk6TWlsZXN0b25lMjU2MjgyOA==","number":25,"title":"2.0.16","description":"","creator":{"login":"cebe","id":189796,"node_id":"MDQ6VXNlcjE4OTc5Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/189796?v=4","gravatar_id":"","url":"https://api.github.com/users/cebe","html_url":"https://github.com/cebe","followers_url":"https://api.github.com/users/cebe/followers","following_url":"https://api.github.com/users/cebe/following{/other_user}","gists_url":"https://api.github.com/users/cebe/gists{/gist_id}","starred_url":"https://api.github.com/users/cebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cebe/subscriptions","organizations_url":"https://api.github.com/users/cebe/orgs","repos_url":"https://api.github.com/users/cebe/repos","events_url":"https://api.github.com/users/cebe/events{/privacy}","received_events_url":"https://api.github.com/users/cebe/received_events","type":"User","site_admin":false},"open_issues":146,"closed_issues":164,"state":"open","created_at":"2017-06-05T18:03:36Z","updated_at":"2018-10-07T13:27:21Z","due_on":"2018-04-20T07:00:00Z","closed_at":null},"comments":12,"created_at":"2017-09-05T09:48:07Z","updated_at":"2018-10-07T13:27:21Z","closed_at":"2018-10-07T13:27:21Z","author_association":"NONE","body":"Invoke `return $this->asJson(null);` in controller\r\nor\r\n`\r\n$response->format = Response::FORMAT_JSON;\r\n$response->data = null;\r\n`\r\n\r\nwill output nothing.\r\n\r\nIn standard json, the null value must be output a 'null' string.\r\nBut when I set output format to json, and value is null, it output nothing.\r\nI think the right output is a 'null' string, hope fixed."}}
{"actor":{"display_login":"samdark"}}